copyWithWrapped method
- Wrapped<
bool?> ? isSuccessful, - Wrapped<
HubCommandResponseModel?> ? hub,
Implementation
CommandTaskResponseDTO copyWithWrapped(
{Wrapped<bool?>? isSuccessful, Wrapped<HubCommandResponseModel?>? hub}) {
return CommandTaskResponseDTO(
isSuccessful:
(isSuccessful != null ? isSuccessful.value : this.isSuccessful),
hub: (hub != null ? hub.value : this.hub));
}