copyWith method

  1. @override
AcPacket copyWith({
  1. List<Command>? commands,
})
override

Implementation

@override
AcPacket copyWith({
  List<Command>? commands,
}) {
  return AcPacket(
    commands: commands ?? this.commands,
  );
}