NetworkCapability constructor
const
NetworkCapability({
- required bool isConnected,
- required String transportType,
- required bool isValidated,
- required bool isMetered,
- required bool hasVpn,
- required bool hasWifi,
- required bool hasCellular,
- required bool hasEthernet,
- required bool hasBluetooth,
- required bool hasLowLatency,
- required bool hasHighBandwidth,
- List<
String> ? interfaceTypes, - bool? isConstrained,
- bool isIosNative = false,
Creates a network capability description.
Implementation
const NetworkCapability({
required this.isConnected,
required this.transportType,
required this.isValidated,
required this.isMetered,
required this.hasVpn,
required this.hasWifi,
required this.hasCellular,
required this.hasEthernet,
required this.hasBluetooth,
required this.hasLowLatency,
required this.hasHighBandwidth,
this.interfaceTypes,
this.isConstrained,
this.isIosNative = false,
});