isForceForegroundAware static method

Future<bool> isForceForegroundAware()

Returns true if foreground notification are published by force, false otherwise

Implementation

static Future<bool> isForceForegroundAware() async {
  if(!Platform.isAndroid) return false;
  return await _channel.invokeMethod("Pushe.isForceForegroundAware") ?? false;
}