collect static method
Implementation
static Map<String, dynamic> collect({required String sdkVersion}) {
final window = PlatformDispatcher.instance.views.first;
final size = window.physicalSize;
return {
'os': Platform.operatingSystem,
'osVersion': Platform.operatingSystemVersion,
'sdkPlatform': 'flutter',
'sdkVersion': sdkVersion,
'language': Platform.localeName,
'timezone': DateTime.now().timeZoneName,
'screenResolution': '${size.width.toInt()}x${size.height.toInt()}',
};
}