copyWith method
EmojiCategory
copyWith({
- String? name,
- Sticker? icon,
- EmojiCategorySource? source,
- bool? isGreeting,
Implementation
EmojiCategory copyWith({
String? name,
Sticker? icon,
EmojiCategorySource? source,
bool? isGreeting,
}) => EmojiCategory(
name: name ?? this.name,
icon: icon ?? this.icon,
source: source ?? this.source,
isGreeting: isGreeting ?? this.isGreeting,
);