getIOSDeviceInfo method

Future<IOSDeviceInfo> getIOSDeviceInfo()

获取SDK版本号

Implementation

Future<IOSDeviceInfo> getIOSDeviceInfo() async {
  final Map<String, dynamic>? deviceInfo =
      await _methodChannel.invokeMapMethod<String, dynamic>('getDeviceInfo');

  return IOSDeviceInfo.fromMap(deviceInfo!);
}