Query$quest$quest$remuneration$wallet$coin.fromJson constructor
Query$quest$quest$remuneration$wallet$coin.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Query$quest$quest$remuneration$wallet$coin.fromJson(
Map<String, dynamic> json) {
final l$id = json['id'];
final l$name = json['name'];
final l$picture = json['picture'];
final l$unitValue = json['unitValue'];
final l$code = json['code'];
final l$category = json['category'];
final l$handle = json['handle'];
final l$country = json['country'];
final l$api = json['api'];
final l$owner = json['owner'];
final l$createdAt = json['createdAt'];
final l$updatedAt = json['updatedAt'];
return Query$quest$quest$remuneration$wallet$coin(
id: (l$id as String),
name: (l$name as String),
picture: l$picture == null
? null
: Query$quest$quest$remuneration$wallet$coin$picture.fromJson(
(l$picture as Map<String, dynamic>)),
unitValue: l$unitValue == null
? null
: Query$quest$quest$remuneration$wallet$coin$unitValue.fromJson(
(l$unitValue as Map<String, dynamic>)),
code: (l$code as String?),
category: l$category == null
? null
: fromJson$Enum$CoinCategoryEnum((l$category as String)),
handle: l$handle == null
? null
: fromJson$Enum$CoinHandleEnum((l$handle as String)),
country: l$country == null
? null
: Query$quest$quest$remuneration$wallet$coin$country.fromJson(
(l$country as Map<String, dynamic>)),
api: l$api == null
? null
: Query$quest$quest$remuneration$wallet$coin$api.fromJson(
(l$api as Map<String, dynamic>)),
owner: l$owner == null
? null
: Query$quest$quest$remuneration$wallet$coin$owner.fromJson(
(l$owner as Map<String, dynamic>)),
createdAt: dateTimeFromJson(l$createdAt),
updatedAt: dateTimeFromJson(l$updatedAt),
);
}