copyWith method
- bool? isSuccessful,
- HubCommandResponseModel? hub,
Implementation
CommandTaskResponseDTO copyWith(
{bool? isSuccessful, HubCommandResponseModel? hub}) {
return CommandTaskResponseDTO(
isSuccessful: isSuccessful ?? this.isSuccessful, hub: hub ?? this.hub);
}