copyWith method
Implementation
CommandProjectionEntry copyWith({
String? commandId,
CommandStatus? status,
bool? terminal,
int? generation,
String? reason,
String? terminalReceiptId,
String? lastEventId,
}) =>
CommandProjectionEntry(
commandId: commandId ?? this.commandId,
status: status ?? this.status,
terminal: terminal ?? this.terminal,
generation: generation ?? this.generation,
reason: reason ?? this.reason,
terminalReceiptId: terminalReceiptId ?? this.terminalReceiptId,
lastEventId: lastEventId ?? this.lastEventId,
);