UnspentOutputs.fromJson constructor

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

Implementation

factory UnspentOutputs.fromJson(Map<String, dynamic> json) => UnspentOutputs(
      amount: json['amount']?.toInt(),
      tokenAddress: json['tokenAddress'],
      type: json['type'],
      from: json['from'],
      tokenId: json['tokenId']?.toInt(),
    );