setForegroundServiceOptions static method

Future setForegroundServiceOptions(
  1. Map<String, dynamic> foregroundServiceOptions
)

Implementation

static Future setForegroundServiceOptions(
  Map<String, dynamic> foregroundServiceOptions) async {
  try {
    await _channel.invokeMethod(
      'setForegroundServiceOptions', foregroundServiceOptions);
  } on PlatformException catch (e) {
    print(e);
  }
}