Radios class

Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.

Constructors

Radios({bool? bluetooth, bool? gps, bool? nfc, bool? wifi})
Radios.fromJson(Map<String, dynamic> json)
factory

Properties

bluetooth bool?
True if Bluetooth is enabled at the beginning of the test. Otherwise, false.
final
gps bool?
True if GPS is enabled at the beginning of the test. Otherwise, false.
final
hashCode int
The hash code for this object.
no setterinherited
nfc bool?
True if NFC is enabled at the beginning of the test. Otherwise, false.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wifi bool?
True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited