TransactionResult.fromJson constructor
Implementation
factory TransactionResult.fromJson(Map<String, dynamic> json) {
return TransactionResult(
from: UniqueId.fromUniqueString(json['flow']['from']),
to: UniqueId.fromUniqueString(json['flow']['to']),
amount: Amount.fromJson(json['flow']['amount']),
at: DateTimeConverter.fromTimestampSinceEpoch(json['flow']['at']),
txType: json['txType'],
);
}