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

executeSession(String sessionId, [Map<String, String>? variables, Network? network, List<UssdDialogOverride>? overrides]) Future<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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerSessionCountListener(SessionCountCallback callback) → void
Registers a SessionCountCallback which is called when the session count in the database changes.
registerSessionResultListener(SessionResultCallback callback) → void
Registers a SessionResultCallback which is called when a session execution result is available.
setOverlayTheme(OverlayThemeData themeData) → void
Sets the theme of the overlay views
toString() String
A string representation of this object.
inherited
unregisterSessionCountListener(SessionCountCallback callback) → void
Removes a SessionCountCallback
unregisterSessionResultListener(SessionResultCallback callback) → void
Removes a SessionResultCallback

Operators

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

Static Methods

getInstance() AutoUssdFlutter
Returns the AutoUssdFlutter singleton instance