onForeground property
must be a top level or static method this method will be executed when app is in foreground
Implementation
final Function(ServiceInstance service)? onForeground;
must be a top level or static method this method will be executed when app is in foreground
final Function(ServiceInstance service)? onForeground;