copyWith method
BusinessGreetingMessageSettings
copyWith({
- int? shortcutId,
- BusinessRecipients? recipients,
- int? inactivityDays,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
BusinessGreetingMessageSettings copyWith({
int? shortcutId,
BusinessRecipients? recipients,
int? inactivityDays,
}) =>
BusinessGreetingMessageSettings(
shortcutId: shortcutId ?? this.shortcutId,
recipients: recipients ?? this.recipients,
inactivityDays: inactivityDays ?? this.inactivityDays,
);