DeviceInfoIos class
Information derived from UIDevice.
See: https://developer.apple.com/documentation/uikit/uidevice
Properties
- 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
-
falseif the application is running in a simulator,trueotherwise.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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> map) → DeviceInfoIos -
Deserializes from the map message received from
_kChannel.