AutoConfirmSettings constructor

AutoConfirmSettings({
  1. bool? enabled,
  2. int? requiredConfirmations,
  3. Int64? tradeLimit,
  4. Iterable<String>? serviceAddresses,
  5. String? currencyCode,
})

Implementation

factory AutoConfirmSettings({
  $core.bool? enabled,
  $core.int? requiredConfirmations,
  $fixnum.Int64? tradeLimit,
  $core.Iterable<$core.String>? serviceAddresses,
  $core.String? currencyCode,
}) {
  final $result = create();
  if (enabled != null) {
    $result.enabled = enabled;
  }
  if (requiredConfirmations != null) {
    $result.requiredConfirmations = requiredConfirmations;
  }
  if (tradeLimit != null) {
    $result.tradeLimit = tradeLimit;
  }
  if (serviceAddresses != null) {
    $result.serviceAddresses.addAll(serviceAddresses);
  }
  if (currencyCode != null) {
    $result.currencyCode = currencyCode;
  }
  return $result;
}