BackgroundChannel class
Names shared with the Android and iOS implementations of the background channel. Changing a value here requires the same change on both platforms.
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
Constants
- eventProcessed → const String
- Sent to the platform once a region event has been handed to the callback, so it can release the resources held for that event.
- initialized → const String
- Sent to the platform once the background isolate is ready to receive events. Events fired before that are queued natively.
- name → const String
- Name of the MethodChannel opened by the background isolate.
- onRegionEvent → const String
-
Received from the platform with
[callbackHandle, regionPayload].