copyWith method

BotCommand copyWith({
  1. String? command,
  2. String? description,
})

Implementation

BotCommand copyWith({
  String? command,
  String? description,
}) =>
    BotCommand(
      command: command ?? this.command,
      description: description ?? this.description,
    );