IdUsernamePair.fromJson constructor
- Map<
String, dynamic> json
Alternate constructor that creates an IdUsernamePair from a json.
Params:
- json: contains the source for instance creation.
Implementation
factory IdUsernamePair.fromJson(Map<String, dynamic> json) {
return IdUsernamePairImpl.fromJson(json);
}