getPlatformVersion method
Returns the platform version string.
Platform implementations should override this method to return the actual platform version.
Implementation
@override
Future<String?> getPlatformVersion() async {
final version = web.window.navigator.userAgent;
return version;
}