getPlatformVersion method
Returns the platform version as a string.
This method should be overridden by the platform-specific implementation to return the current platform version (e.g., Android or iOS version).
Implementation
@override
Future<String> getPlatformVersion() async {
final version = await methodChannel.invokeMethod<String>('getPlatformVersion');
return version ?? "NA";
}