isFlagSecureEnabled method

  1. @override
Future<bool?> isFlagSecureEnabled()
override

Returns whether FLAG_SECURE is enabled.

Implementation

@override
Future<bool?> isFlagSecureEnabled() async {
  if (!Platform.isAndroid) {
    return Future.value();
  }

  return await methodChannel.invokeMethod("isFlagSecureEnabled");
}