IosDeviceInfoMock class
- Implemented types
-
- BaseDeviceInfo
Constructors
Properties
- availableRamSize → int
-
Current unallocated RAM size of the device in megabytes
finalinherited
-
data
→ Map<
String, dynamic> -
Device information data
Warning: The returned Map may not be JSON-encodable.
finalinherited
- freeDiskSize → int
-
Free disk size in bytes
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
- 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
finalinherited
- isiOSAppOnVision → bool
-
Indicates whether the process is an iPhone or iPad app running on visionOS.
https://developer.apple.com/documentation/foundation/processinfo/isiosapponvision
finalinherited
- 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 3finalinherited - name → String
-
Device name.
final
- physicalRamSize → int
-
Total physical RAM size of the device in megabytes
finalinherited
- 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
finalinherited
- utsname → IosUtsname
-
Operating system information derived from
sys/utsname.h.final
Methods
-
noSuchMethod(
Invocation invocation, {Object? returnValue, Object? returnValueForMissingStub = deferToDefaultResponse}) → dynamic -
Handles method stubbing, method call verification, and real method calls.
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