IncomingTxnDetails constructor

IncomingTxnDetails({
  1. String? txnId,
  2. String? sender,
  3. String? receiver,
  4. double? amount,
  5. String? comment,
  6. int? type,
  7. Timestamp? timestamp,
  8. String? tickerName,
  9. double? gas,
})

Implementation

factory IncomingTxnDetails({
  $core.String? txnId,
  $core.String? sender,
  $core.String? receiver,
  $core.double? amount,
  $core.String? comment,
  $core.int? type,
  $2.Timestamp? timestamp,
  $core.String? tickerName,
  $core.double? gas,
}) {
  final _result = create();
  if (txnId != null) {
    _result.txnId = txnId;
  }
  if (sender != null) {
    _result.sender = sender;
  }
  if (receiver != null) {
    _result.receiver = receiver;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (comment != null) {
    _result.comment = comment;
  }
  if (type != null) {
    _result.type = type;
  }
  if (timestamp != null) {
    _result.timestamp = timestamp;
  }
  if (tickerName != null) {
    _result.tickerName = tickerName;
  }
  if (gas != null) {
    _result.gas = gas;
  }
  return _result;
}