CellularCheckResult class

Result of the iOS cellular availability check.

Constructors

CellularCheckResult({required bool cellularInterfaceAvailable, required bool cellularDataReachable})
Creates a CellularCheckResult from the passive and active check flags.
CellularCheckResult.fromMap(Map<String, dynamic> map)
Parses the raw map returned by the platform channel into a CellularCheckResult.
factory

Properties

cellularDataReachable bool
Active check — traffic actually reached a host over cellular.
final
cellularInterfaceAvailable bool
Passive check — a cellular interface/path exists (active data SIM present).
final
hasActiveMobileData bool
Practical "is there active mobile data" signal.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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