copyWith method

Emoji copyWith({
  1. String? name,
  2. String? emoji,
  3. bool? hasSkinTone,
})

Copy method

Implementation

Emoji copyWith({String? name, String? emoji, bool? hasSkinTone}) {
  return Emoji(
    name ?? this.name,
    emoji ?? this.emoji,
    hasSkinTone: hasSkinTone ?? this.hasSkinTone,
  );
}