ValidDuring constructor

ValidDuring({
  1. Int64? minEpoch,
  2. Int64? maxEpoch,
  3. String? chain,
  4. int? nonce,
})

Implementation

factory ValidDuring({
  $fixnum.Int64? minEpoch,
  $fixnum.Int64? maxEpoch,
  $core.String? chain,
  $core.int? nonce,
}) {
  final result = create();
  if (minEpoch != null) result.minEpoch = minEpoch;
  if (maxEpoch != null) result.maxEpoch = maxEpoch;
  if (chain != null) result.chain = chain;
  if (nonce != null) result.nonce = nonce;
  return result;
}