TokenBalance.fromJson constructor

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

Implementation

factory TokenBalance.fromJson(Map<String, dynamic> json) => TokenBalance(
      address: json['address'],
      amount: json['amount']?.toInt(),
      tokenId: json['tokenId']?.toInt(),
    );