copyWith method
- WifiStatusDTO? wifiStatus,
- bool? cellularConnected,
- int? cellularStrengthLevel,
Implementation
HubDataDTO copyWith(
{enums.WifiStatusDTO? wifiStatus,
bool? cellularConnected,
int? cellularStrengthLevel}) {
return HubDataDTO(
wifiStatus: wifiStatus ?? this.wifiStatus,
cellularConnected: cellularConnected ?? this.cellularConnected,
cellularStrengthLevel:
cellularStrengthLevel ?? this.cellularStrengthLevel);
}