MBMessagesPlugin class

Messages plugin to interact with native app.

Constructors

MBMessagesPlugin()

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 Properties

onAppEnterForeground VoidCallback?
Function that needs to be called when the app enters foreground.
getter/setter pair

Static Methods

initializeMethodCall({required VoidCallback? onAppEnterForeground}) Future<void>
Initialize the callbacks from the native side to dart. @param onAppEnterForeground Function that needs to be called when the app enters foreground.