getPlatformVersion method
Retrieves the platform version (e.g., user agent on web).
Implementation
@override
Future<String?> getPlatformVersion() async {
/// Fetches the native platform version via method channel.
final version = await methodChannel.invokeMethod<String>('getPlatformVersion');
return version;
}