getIosSystemVersion function

Future<String?> getIosSystemVersion()

Implementation

Future<String?> getIosSystemVersion() async {
  if (Platform.isIOS) {
    BaseDeviceInfo deviceInfo = await getDeviceInfo();
    IosDeviceInfo iosDeviceInfo = IosDeviceInfo.fromMap(deviceInfo.data);
    return iosDeviceInfo.systemVersion;
  }
  return null;
}