authenticate static method Null safety

Future<bool> authenticate()

Implementation

static Future<bool> authenticate() async {
  if (Platform.isLinux || Platform.isMacOS || Platform.isIOS || Platform.isAndroid) {
    return await _channel.invokeMethod('authenticate');
  }
  return false;
}