SubscriptionInfo class
Represents a SIM subscription (SIM card) on the device. Used for dual SIM devices to identify and select which SIM to use for SMS operations.
Constructors
-
SubscriptionInfo.fromMap(Map<
String, dynamic> map) - Do not call this method. This method is visible only for testing.
Properties
- carrierName ↔ String?
-
The carrier/operator name (e.g., "Verizon", "AT&T")
getter/setter pair
- countryIso ↔ String?
-
The ISO country code for the subscription (e.g., "us", "gb")
getter/setter pair
- displayName ↔ String?
-
The display name set by user for this SIM
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- phoneNumber ↔ String?
-
The phone number associated with this subscription (may be null or empty)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- simSlotIndex ↔ int?
-
The SIM slot index (0 for first slot, 1 for second slot, etc.)
getter/setter pair
- subscriptionId ↔ int?
-
The unique subscription ID for this SIM card
getter/setter pair
Methods
-
equals(
SubscriptionInfo other) → bool - Do not call this method. This method is visible only for testing.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited