copyWith method
UpdateQuickReplyShortcutMessages
copyWith({
- int? shortcutId,
- List<
QuickReplyMessage> ? messages, - dynamic extra,
- int? clientId,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
UpdateQuickReplyShortcutMessages copyWith({
int? shortcutId,
List<QuickReplyMessage>? messages,
dynamic extra,
int? clientId,
}) =>
UpdateQuickReplyShortcutMessages(
shortcutId: shortcutId ?? this.shortcutId,
messages: messages ?? this.messages,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);