copyWith method

  1. @override
InputMessageDice copyWith({
  1. String? emoji,
  2. bool? clearDraft,
})
override

Implementation

@override
InputMessageDice copyWith({
  String? emoji,
  bool? clearDraft,
}) =>
    InputMessageDice(
      emoji: emoji ?? this.emoji,
      clearDraft: clearDraft ?? this.clearDraft,
    );