getPlatformVersion method

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

Returns a String containing the version of the platform.

Implementation

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