UNetworkStatus constructor

const UNetworkStatus({
  1. Set<UNetworkType> types = const <UNetworkType>{},
  2. bool connected = false,
  3. bool? internet,
  4. bool captivePortal = false,
  5. bool metered = false,
  6. bool constrained = false,
  7. bool? roaming,
  8. String? cellularGeneration,
  9. int? downlinkKbps,
  10. int? uplinkKbps,
  11. int? rttMs,
  12. int? signalStrength,
  13. String? interfaceName,
})

Implementation

const UNetworkStatus({
  this.types = const <UNetworkType>{},
  this.connected = false,
  this.internet,
  this.captivePortal = false,
  this.metered = false,
  this.constrained = false,
  this.roaming,
  this.cellularGeneration,
  this.downlinkKbps,
  this.uplinkKbps,
  this.rttMs,
  this.signalStrength,
  this.interfaceName,
});