CellularCheckResult.fromMap constructor
Parses the raw map returned by the platform channel into a CellularCheckResult.
Implementation
factory CellularCheckResult.fromMap(Map<String, dynamic> map) =>
CellularCheckResult(
cellularInterfaceAvailable:
map['cellularInterfaceAvailable'] as bool? ?? false,
cellularDataReachable: map['cellularDataReachable'] as bool? ?? false,
);