getIOSDeviceInfo function
get IOS Device Info
Implementation
Future<IOSDeviceModel?> getIOSDeviceInfo() async {
if (!supportPlatform) return null;
if (!isIOS) return null;
final Map<String, dynamic>? map =
await curiosityChannel.invokeMapMethod<String, dynamic>('getDeviceInfo');
if (map != null) return IOSDeviceModel.fromJson(map);
return null;
}