copyWith method

SandboxItemFireWebhookRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? accessToken,
  4. WebhookType? webhookType,
  5. SandboxItemFireWebhookRequestWebhookCode? webhookCode,
})

Implementation

SandboxItemFireWebhookRequest copyWith(
    {String? clientId,
    String? secret,
    String? accessToken,
    enums.WebhookType? webhookType,
    enums.SandboxItemFireWebhookRequestWebhookCode? webhookCode}) {
  return SandboxItemFireWebhookRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      accessToken: accessToken ?? this.accessToken,
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode);
}