TimeRelockOrder constructor

TimeRelockOrder({
  1. List<int>? fromAddress,
  2. Int64? id,
  3. String? description,
  4. Iterable<SendOrder_Token>? amount,
  5. Int64? lockTime,
})

Implementation

factory TimeRelockOrder({
  $core.List<$core.int>? fromAddress,
  $fixnum.Int64? id,
  $core.String? description,
  $core.Iterable<SendOrder_Token>? amount,
  $fixnum.Int64? lockTime,
}) {
  final _result = create();
  if (fromAddress != null) {
    _result.fromAddress = fromAddress;
  }
  if (id != null) {
    _result.id = id;
  }
  if (description != null) {
    _result.description = description;
  }
  if (amount != null) {
    _result.amount.addAll(amount);
  }
  if (lockTime != null) {
    _result.lockTime = lockTime;
  }
  return _result;
}