checkResultSecurityInfo method
Implementation
@override
Future<Map<String, dynamic>?> checkResultSecurityInfo() async {
try {
final result = await methodChannel.invokeMethod('checkResultSecurityInfo');
// Ensure result is of the correct type before casting
if (result is Map) {
return Map<String, dynamic>.from(result);
} else {
return null;
}
} catch (e) {
return null;
}
}