getPlatformVersion method

Future<String?> getPlatformVersion()

Retrieves the platform version.

This method should be implemented to return a Future that resolves to a String representing the current platform version.

Throws an UnimplementedError if the platform-specific implementation is not provided.

Implementation

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