copyWith method

BoardingPassCommand copyWith({
  1. String? printerId,
  2. List<AeaCommand>? data,
})

Implementation

BoardingPassCommand copyWith({
  String? printerId,
  List<AeaCommand>? data,
}) =>
    BoardingPassCommand(
      printerId: printerId ?? this.printerId,
      data: data ?? this.data,
    );