copyWith method

ReorderInstalledStickerSets copyWith({
  1. StickerType? stickerType,
  2. List<int>? stickerSetIds,
})

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

Implementation

ReorderInstalledStickerSets copyWith({
  StickerType? stickerType,
  List<int>? stickerSetIds,
}) => ReorderInstalledStickerSets(
  stickerType: stickerType ?? this.stickerType,
  stickerSetIds: stickerSetIds ?? this.stickerSetIds,
);