SystemFeature class
A native Android system feature reported by the device.
Constructors
- SystemFeature({required String name, required int? version, required bool isGlEsFeature})
-
Creates a system feature description.
const
-
SystemFeature.fromMap(Map<
Object?, Object?> map) -
Creates a SystemFeature from a map returned by the native platform.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGlEsFeature → bool
-
Whether this entry describes the device OpenGL ES support.
final
- name → String
-
The Android feature name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → int?
-
The Android feature version, when the platform reports one.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> - Converts this feature to a map using the native field names.
-
toString(
) → String -
Returns a readable string containing all feature fields.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited