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(
    emoji ?? this.emoji,
    name ?? this.name,
    hasSkinTone: hasSkinTone ?? this.hasSkinTone,
  );
}