getSecurityInfo method
Implementation
@override
Future<SecurityInfo> getSecurityInfo() async {
final map = await methodChannel.invokeMapMethod<dynamic, dynamic>('getSecurityInfo');
if (map == null) {
throw PlatformException(
code: 'NULL_RESPONSE',
message: 'getSecurityInfo returned null',
);
}
return SecurityInfo.fromMap(map);
}