IosDeviceInfo class
Information derived from UIDevice.
See: https://developer.apple.com/documentation/uikit/uidevice
- Inheritance
- 
    - Object
- BaseDeviceInfo
- IosDeviceInfo
 
Properties
- availableRamSize → int
- 
  Current unallocated RAM size of the device in megabytes
  final
- 
  data
  → Map<String, dynamic> 
- 
  Device information data
Warning: The returned Map may not be JSON-encodable.
  finalinherited
- freeDiskSize → int
- 
  Free disk size in bytes
  final
- 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
- isiOSAppOnMac → bool
- 
  that indicates whether the process is an iPhone or iPad app running on a Mac.
https://developer.apple.com/documentation/foundation/nsprocessinfo/3608556-iosapponmac
  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 according to OS
https://developer.apple.com/documentation/uikit/uidevice/1620044-model
  final
- modelName → String
- 
  Commercial or user-known model name
Examples: iPhone 16 Pro,iPad Pro 11-Inch 3final
- name → String
- 
  Device name.
  final
- physicalRamSize → int
- 
  Total physical RAM size of the device in megabytes
  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
- totalDiskSize → int
- 
  Total disk size in bytes
  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.
- 
  setMockInitialValues({required String name, required String systemName, required String systemVersion, required String model, required String modelName, required String localizedModel, required int freeDiskSize, required int totalDiskSize, String? identifierForVendor, required bool isPhysicalDevice, required bool isiOSAppOnMac, required int physicalRamSize, required int availableRamSize, required IosUtsname utsname}) → IosDeviceInfo 
- Initializes the application metadata with mock values for testing.