getDeviceSecurityInfo method
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()}");
}
}