isProcessImportant method

Future<bool> isProcessImportant()

Checks if the process is declared 'important' by the system.

Implementation

Future<bool> isProcessImportant() async {
  return await _channel.invokeMethod('process.isProcessImportant') ?? false;
}