IosDeviceInfo class

Information derived from UIDevice.

See: https://developer.apple.com/documentation/uikit/uidevice

Constructors

IosDeviceInfo({String? name, String? systemName, String? systemVersion, String? model, String? localizedModel, String? identifierForVendor, bool? isPhysicalDevice, IosUtsname? utsname, Storage? storage})
IOS device info class.

Properties

hashCode int
The hash code for this object.
no setterinherited
identifierForVendor String?
Unique UUID value identifying the current device.
final
isPhysicalDevice bool?
false if the application is running in a simulator, true otherwise.
final
localizedModel String?
Localized name of the device model.
final
model String?
Device model.
final
name String?
Device name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage Storage?
device storage detail.
final
systemName String?
The name of the current operating system.
final
systemVersion String?
The current operating system version.
final
utsname IosUtsname?
Operating system information derived from sys/utsname.h.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic> map) IosDeviceInfo
Deserializes from the map message received from _kChannel.