IosDeviceInfo class

Information derived from UIDevice.

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

Inheritance

Properties

data Map<String, dynamic>
Device information data Warning: The returned Map may not be JSON-encodable.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
identifierForVendor String?
Unique UUID value identifying the current device. https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor
final
isPhysicalDevice bool
false if the application is running in a simulator, true otherwise.
final
localizedModel String
Localized name of the device model. https://developer.apple.com/documentation/uikit/uidevice/1620029-localizedmodel
final
model String
Device model. https://developer.apple.com/documentation/uikit/uidevice/1620044-model
final
name String
Device name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemName String
The name of the current operating system. https://developer.apple.com/documentation/uikit/uidevice/1620054-systemname
final
systemVersion String
The current operating system version. https://developer.apple.com/documentation/uikit/uidevice/1620043-systemversion
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
toMap() Map<String, dynamic>
For legacy purposes
inherited
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.