getScreenInfo method
Implementation
@override
Future<Map<String, dynamic>?> getScreenInfo() async {
final version = await methodChannel
.invokeMethod<Map<dynamic, dynamic>>('getScreenInfo');
final Map<String, dynamic> result = {};
(version as Map<dynamic, dynamic>).forEach((key, value) {
result[key as String] = value;
});
return result;
}