copyWith method

SetBotSettings copyWith({
  1. int? botUserId,
  2. List<BotSetting>? settings,
})

Implementation

SetBotSettings copyWith({
  int? botUserId,
  List<BotSetting>? settings,
}) =>
    SetBotSettings(
      botUserId: botUserId ?? this.botUserId,
      settings: settings ?? this.settings,
    );