TransactionLog.fromJson constructor
Implementation
factory TransactionLog.fromJson(Map<String, dynamic> json) {
return TransactionLog(
from: Wallet.fromJson(json['flow']['from']),
to: Wallet.fromJson(json['flow']['to']),
amount: Amount.fromJson(json['flow']['amount']),
at: DateTimeConverter.fromTimestampSinceEpoch(json['flow']['at']),
type: TransactionType.parse(json['txType']),
);
}