BackgroundServiceManager class
Constructors
- BackgroundServiceManager()
-
factory
Properties
- eventStream → Stream
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isServiceRunningStream → Stream
-
no setter
-
localChannelsCache
→ Map<
Type, BackgroundChannel< BackgroundModelBase> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBackgroundChannel<
T extends BackgroundModelBase> (T dataConverter(Map< Object?, Object?> mapParam)) → BackgroundChannel<BackgroundModelBase> -
executeDartCallBack(
BackgroundMessageHandler callback, {dynamic args}) → void -
getModelStream<
T extends BackgroundModelBase> () → Stream< BackgroundModelBase?> ? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startBackgroundService(
) → Future< bool> -
stopBackgroundService(
) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
isBackgroundServiceRunning
→ Future<
bool> -
no setter
Static Methods
-
sendDataToApp<
T extends BackgroundModelBase> (T data) → Future -
sendEventToApp(
dynamic event) → Future< Type?>