EventsHandler class

Handler for events emitted by native SDK

Constructors

EventsHandler(MethodChannel _channel)

Properties

hashCode int
The hash code for this object.
no setterinherited
listeners List<EventListener>
getter/setter pair
onErrorCallbacks List<dynamic Function()>
getter/setter pair
onReadyCallbacks List<dynamic Function()>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vendorStatusListeners Map<String, List<dynamic Function(VendorStatus)>>
getter/setter pair

Methods

addEventListener(EventListener listener) → dynamic
Add an event listener
addVendorStatusListener(String vendorId, dynamic listener(VendorStatus)) → dynamic
Add a vendor status listener
handleDidomiErrorEvent(dynamic error) → dynamic
handleDidomiEvent(dynamic event) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(EventListener listener) → dynamic
Remove an event listener
removeVendorStatusListener(String vendorId) → dynamic
Remove listeners for the vendor status
toString() String
A string representation of this object.
inherited

Operators

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