getPlatformVersion static method

Future<String?> getPlatformVersion()

Implementation

static Future<String?> getPlatformVersion() async {
  // Acessa a versão do navegador (userAgent) via JS interop
  final version = userAgent;
  return version;
}