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