EventModuleApi class

Inheritance

Constructors

EventModuleApi()

Properties

cmdPrefix → String
final
hashCode → int
The hash code for this object.
no setterinherited
listenerCallbacks → Map<String, Set<UniSdkCommonCallback>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String eventName, UniSdkCommonCallback callback, [Map options = emptyParams]) → Future<Map<String, dynamic>>
getCmdPrefix() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String eventName, UniSdkCommonCallback actionFunction, [Map options = emptyParams]) → Future<Map<String, dynamic>>
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

emptyParams → const Map<String, dynamic>