TelephonyInfo class

Constructors

TelephonyInfo({String? networkCountryIso, String? mobileCountryCode, String? mobileNetworkCode, String? displayName, String? simState, String? isoCountryCode, CellId? cellId, String? phoneNumber, String? carrierName, int? subscriptionId, String? networkGeneration, String? radioType, String? networkOperatorName})
TelephonyInfo.fromJson(String source)
factory
TelephonyInfo.fromMap(Map map)
factory

Properties

carrierName String?
Carrier name of the sim
final
cellId CellId?
The cell id (cid) and local area code
final
displayName String?
The name of the user’s home cellular service provider.
final
hashCode int
The hash code for this object.
no setteroverride
isoCountryCode String?
The ISO country code for the user’s cellular service provider.
final
mobileCountryCode String?
final
mobileNetworkCode String?
The mobile network code (MNC) for the user’s cellular service provider.
final
networkCountryIso String?
final
networkGeneration String?
The mobile network radioType: 5G, 4G ... 2G
final
networkOperatorName String?
final
phoneNumber String?
Phone number of the sim
final
radioType String?
The mobile network generation: LTE, HSDPA, e.t.c
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simState String?
Constant indicating the state of the device SIM card in a logical slot; SIM_STATE_UNKNOWN, SIM_STATE_ABSENT, SIM_STATE_PIN_REQUIRED, SIM_STATE_PUK_REQUIRED, SIM_STATE_NETWORK_LOCKED, SIM_STATE_READY, SIM_STATE_NOT_READY, SIM_STATE_PERM_DISABLED, SIM_STATE_CARD_IO_ERROR, SIM_STATE_CARD_RESTRICTED,
final
subscriptionId int?
final

Methods

copyWith({String? networkCountryIso, String? mobileCountryCode, String? mobileNetworkCode, String? displayName, String? simState, String? isoCountryCode, CellId? cellId, String? phoneNumber, String? carrierName, int? subscriptionId, int? phoneCount, String? networkGeneration, String? radioType, String? networkOperatorName}) TelephonyInfo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map
toString() String
A string representation of this object.
override

Operators

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