FlutterBackgroundServiceEnhanced class
Constructors
- FlutterBackgroundServiceEnhanced()
-
factory
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
-
configure(
{required IosConfiguration iosConfiguration, required AndroidConfiguration androidConfiguration}) → Future< bool> - configure the background service handler it's highly recommended to call this method in main() method
-
invoke(
String method, [Map< String, dynamic> ? arg]) → void -
override
-
isRunning(
) → Future< bool> - Whether the service is running
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
String method) → Stream< Map< String, dynamic> ?> -
override
-
startService(
) → Future< bool> - Starts the background service.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited