copyWithWrapped method

CommandTaskRequestDTO copyWithWrapped({
  1. Wrapped<HubCommandModel?>? hub,
})

Implementation

CommandTaskRequestDTO copyWithWrapped({Wrapped<HubCommandModel?>? hub}) {
  return CommandTaskRequestDTO(hub: (hub != null ? hub.value : this.hub));
}