DuoDeviceInfo class
Device and operating-system details provided by public platform APIs.
Constructors
- DuoDeviceInfo({String? model, String? systemName, String? systemVersion, bool? isFoldable})
-
const
-
DuoDeviceInfo.fromMap(Map<
Object?, Object?> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isFoldable → bool?
-
Null means foldability is unknown; it is never inferred from the model.
final
- model → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemName → String?
-
final
- systemVersion → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override