Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects$coin.fromJson constructor
Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects$coin.fromJson()
Implementation
factory Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects$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$$__typename = json['__typename'];
return Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects$coin(
id: (l$id as String),
name: (l$name as String),
picture: l$picture == null
? null
: Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects$coin$picture
.fromJson((l$picture as Map<String, dynamic>)),
unitValue: l$unitValue == null
? null
: Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects$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)),
$__typename: (l$$__typename as String),
);
}