copyWith method

SetBotName copyWith({
  1. int? botUserId,
  2. String? languageCode,
  3. String? name,
})

Implementation

SetBotName copyWith({
  int? botUserId,
  String? languageCode,
  String? name,
}) =>
    SetBotName(
      botUserId: botUserId ?? this.botUserId,
      languageCode: languageCode ?? this.languageCode,
      name: name ?? this.name,
    );