copyWith method

DeleteQuickReplyShortcutMessages copyWith({
  1. int? shortcutId,
  2. List<int>? messageIds,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

DeleteQuickReplyShortcutMessages copyWith({
  int? shortcutId,
  List<int>? messageIds,
}) =>
    DeleteQuickReplyShortcutMessages(
      shortcutId: shortcutId ?? this.shortcutId,
      messageIds: messageIds ?? this.messageIds,
    );