getDeviceSecurityInfo method

  1. @override
Future<String?> getDeviceSecurityInfo()
override

Implementation

@override
Future<String?> getDeviceSecurityInfo() async {
  try {
    final String result =
        await methodChannel.invokeMethod('getDeviceSecurityInfo');
    return result;
  } on PlatformException catch (e) {
    throw Exception("${e.message}");
  }catch(e){
    throw Exception("Unexpected error: ${e.toString()}");
  }
}