IosDeviceInfo class

Information derived from UIDevice.

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

Implemented types

Constructors

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

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
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
toMap() → Map<String, dynamic>
Serializes IosDeviceInfo to a map.
override
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.