copyWith method

CommandBuilder copyWith({
  1. String? name,
  2. String? command,
})

Implementation

CommandBuilder copyWith({
  String? name,
  String? command,
}) {
  return CommandBuilder(
    command ?? this.command,
  );
}