AutoUssdFlutter class

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

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

Static Methods

executeSession(String sessionId, [List<String>? variables, Network? network]) → void
Executes a session matching the specified in your app.
getDeviceSimNetworks() Future<List<Network>>
Retrieves a list of Network of SIMs in the device Requires the READ_PHONE_STATE permission to have already been granted
init() → void
Initializes the static AutoUssdFlutter singleton This should be called early on in the app runtime
offSessionCount(SessionCountCallback callback) → void
Removes a SessionCountCallback
offSessionResult(SessionResultCallback callback) → void
Removes a SessionResultCallback
onSessionCount(SessionCountCallback callback) → void
Registers a SessionCountCallback which is called when the session count in the database changes.
onSessionResult(SessionResultCallback callback) → void
Registers a SessionResultCallback which is called when a session execution result is available.