copyWith method

DeleteCommands copyWith({
  1. BotCommandScope? scope,
  2. String? languageCode,
})

Implementation

DeleteCommands copyWith({
  BotCommandScope? scope,
  String? languageCode,
}) =>
    DeleteCommands(
      scope: scope ?? this.scope,
      languageCode: languageCode ?? this.languageCode,
    );