SimDataPlatform class abstract

SIM Data Plugin Author: Akshay Doshi

Inheritance
  • Object
  • PlatformInterface
  • SimDataPlatform
Implementers

Constructors

SimDataPlatform()
Constructs a SimDataPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkCellular({String host = 'www.apple.com', int port = 443, double timeoutSeconds = 5.0}) Future<Map<String, dynamic>?>
Supported on iOS only. Runs the passive (interface available) + active (data reachable) cellular checks. Returns the raw map; the public API wraps it into CellularCheckResult.
getPlatformVersion() Future<String?>
Boiler-plate code
getSimData() Future<String?>
Supported only for Android! Fetches the SIM data and returns List<SimDataModel>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendSMS({required String phoneNumber, required String message, required int subId, int timeoutSeconds = 0}) Future<bool?>
Supported for both android and iOS This requires the SEND_SMS permissions for android. SMS is sent in the background for android and for iOS the plugin uses MFMessageComposeViewController
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance SimDataPlatform
The default instance of SimDataPlatform to use.
getter/setter pair