copyWith method

M4eTransactionResult copyWith ({M4eUniqueId from, M4eUniqueId to, M4eAmount amount, DateTime at, M4eTransactionType txType, Map<String, dynamic> meta })

Implementation

M4eTransactionResult copyWith({
  M4eUniqueId from,
  M4eUniqueId to,
  M4eAmount amount,
  DateTime at,
  M4eTransactionType txType,
  Map<String, dynamic> meta,
}) {
  return M4eTransactionResult(
    from: from ?? this.from,
    to: to ?? this.to,
    amount: amount ?? this.amount,
    at: at ?? this.at,
    txType: txType ?? this.txType,
    meta: meta ?? this.meta,
  );
}