HubData constructor
const
HubData({ - required String serialNumber,
- required DataSource dataSource,
- List<String> generators = const <String>[],
- List<String> ats = const <String>[],
- String? firmwareVersion,
- WifiStatus? wifiStatus,
- List<WifiNetwork>? wifiNetworks,
- String? wifiSsid,
- DateTime? lastConnected,
- WifiConfigResult? wifiConfigResult,
- bool? cellularConnected,
- SignalStrength? cellularStrength,
- String? cellularIccid,
- double? remainingDataMb,
- double? totalDataMb,
- CellularDataStatus? cellularDataStatus,
- DateTime? cellularPlanExpiryDate,
})
Implementation
const HubData({
required this.serialNumber,
required this.dataSource,
this.generators = const <String>[],
this.ats = const <String>[],
this.firmwareVersion,
this.wifiStatus,
this.wifiNetworks,
this.wifiSsid,
this.lastConnected,
this.wifiConfigResult,
this.cellularConnected,
this.cellularStrength,
this.cellularIccid,
this.remainingDataMb,
this.totalDataMb,
this.cellularDataStatus,
this.cellularPlanExpiryDate,
});