Webhook constructor

Webhook({
  1. String? name,
  2. String? displayName,
  3. Webhook_GenericWebService? genericWebService,
  4. bool? disabled,
  5. Duration? timeout,
})

Implementation

factory Webhook({
  $core.String? name,
  $core.String? displayName,
  Webhook_GenericWebService? genericWebService,
  $core.bool? disabled,
  $22.Duration? timeout,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (displayName != null) {
    _result.displayName = displayName;
  }
  if (genericWebService != null) {
    _result.genericWebService = genericWebService;
  }
  if (disabled != null) {
    _result.disabled = disabled;
  }
  if (timeout != null) {
    _result.timeout = timeout;
  }
  return _result;
}