getPlatformVersion method

Future<String?> getPlatformVersion()

Retrieves a user-visible platform version string from the host platform.

Returns a string like "iOS 14.5" or "macOS 11.3" depending on the underlying native platform and its version.

Implementation

Future<String?> getPlatformVersion() {
  throw UnimplementedError('platformVersion() has not been implemented.');
}