IosConfiguration class
Properties
autoStart
→ bool
whether service auto start after configure.
final
hashCode
→ int
The hash code for this object.
no setter inherited
onBackground
→ FutureOr <bool > Function(ServiceInstance service ) ?
must be a top level or static method
this method will be executed by background fetch
make sure you don't execute long running task there because of limitations on ios
recommended maximum executed duration is only 15-20 seconds.
final
onForeground
→ dynamic Function(ServiceInstance service ) ?
must be a top level or static method
this method will be executed when app is in foreground
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
flutter_background_service_enhanced 1.0.0