IosConfiguration class

Constructors

IosConfiguration({dynamic onForeground(ServiceInstance service)?, FutureOr<bool> onBackground(ServiceInstance service)?, bool autoStart = true})

Properties

autoStart bool
whether service auto start after configure.
final
hashCode int
The hash code for this object.
no setterinherited
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 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