BalanceResponse.fromJson constructor Null safety

BalanceResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BalanceResponse.fromJson(Map<String, dynamic> json) =>
    BalanceResponse(
      uco: json['uco'].toDouble(),
      nft: BalanceResponseNft.fromJson(json['nft']),
    );