toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'unit': unit,
      'quantity': quantity,
      'decimals': decimals,
      'hasNftOnchainMetadata': hasNftOnchainMetadata
    };