getPlatformVersion method

  1. @override
Future<String?> getPlatformVersion()
override

Returns a String containing the version of the platform.

Implementation

@override
Future<String?> getPlatformVersion() async {
  final version = web.window.navigator.userAgent;
  return version;
}