copyWith method
Implementation
HubCommandResponseModel copyWith(
{enums.HubCommandType? commandType,
List<Object>? arguments,
int? commandId,
List<int>? errors}) {
return HubCommandResponseModel(
commandType: commandType ?? this.commandType,
arguments: arguments ?? this.arguments,
commandId: commandId ?? this.commandId,
errors: errors ?? this.errors);
}