IosDeviceInfo class

Information derived from UIDevice.

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

Constructors

IosDeviceInfo({required String name, required String systemName, required String systemVersion, required String model, required String localizedModel, required String identifierForVendor, required bool isPhysicalDevice, required IosUtsname utsname})
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
The value is true if the application is running on a physical device.
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
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
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.