copyWith method
DepositSwitchStateUpdateWebhook
copyWith({
- String? webhookType,
- String? webhookCode,
- String? state,
- String? depositSwitchId,
- WebhookEnvironmentValues? environment,
Implementation
DepositSwitchStateUpdateWebhook copyWith(
{String? webhookType,
String? webhookCode,
String? state,
String? depositSwitchId,
enums.WebhookEnvironmentValues? environment}) {
return DepositSwitchStateUpdateWebhook(
webhookType: webhookType ?? this.webhookType,
webhookCode: webhookCode ?? this.webhookCode,
state: state ?? this.state,
depositSwitchId: depositSwitchId ?? this.depositSwitchId,
environment: environment ?? this.environment);
}