TransactionInput.fromJson constructor

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

Implementation

factory TransactionInput.fromJson(Map<String, dynamic> json) =>
    TransactionInput(
      amount: json['amount'] == null ? null : json['amount'].toDouble(),
      from: json['from'],
      nftAddress: json['nftAddress'],
      spent: json['spent'],
      timestamp: json['timestamp'],
      type: json['type'],
    );