Query$challenge$challenge$donation$donation$donation$cause$coin.fromJson constructor
Query$challenge$challenge$donation$donation$donation$cause$coin.fromJson()
Implementation
factory Query$challenge$challenge$donation$donation$donation$cause$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$challenge$challenge$donation$donation$donation$cause$coin(
id: (l$id as String),
name: (l$name as String),
picture: l$picture == null
? null
: Query$challenge$challenge$donation$donation$donation$cause$coin$picture
.fromJson((l$picture as Map<String, dynamic>)),
unitValue: l$unitValue == null
? null
: Query$challenge$challenge$donation$donation$donation$cause$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$challenge$challenge$donation$donation$donation$cause$coin$country
.fromJson((l$country as Map<String, dynamic>)),
api: l$api == null
? null
: Query$challenge$challenge$donation$donation$donation$cause$coin$api
.fromJson((l$api as Map<String, dynamic>)),
owner: l$owner == null
? null
: Query$challenge$challenge$donation$donation$donation$cause$coin$owner
.fromJson((l$owner as Map<String, dynamic>)),
createdAt: dateTimeFromJson(l$createdAt),
updatedAt: dateTimeFromJson(l$updatedAt),
);
}