NetworkCapability constructor

const NetworkCapability({
  1. required bool isConnected,
  2. required String transportType,
  3. required bool isValidated,
  4. required bool isMetered,
  5. required bool hasVpn,
  6. required bool hasWifi,
  7. required bool hasCellular,
  8. required bool hasEthernet,
  9. required bool hasBluetooth,
  10. required bool hasLowLatency,
  11. required bool hasHighBandwidth,
})

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,
});