通过方法通道获取当前运行平台的版本信息。
@override Future<String?> getPlatformVersion() async { final version = await methodChannel.invokeMethod<String>( 'getPlatformVersion', ); return version; }