PlatformSummary class
Basic information about the Android device running the app.
Constructors
- PlatformSummary({required String manufacturer, required String brand, required String model, required String device, required String product, required int androidSdk, required String androidRelease})
-
Creates a platform summary with Android build details.
const
-
PlatformSummary.fromMap(Map<
Object?, Object?> map) -
Creates a PlatformSummary from a map returned by the native platform.
factory
Properties
- androidRelease → String
-
The Android release version, such as 14 or 15.
final
- androidSdk → int
-
The Android SDK version number.
final
- brand → String
-
The consumer-facing device brand reported by Android.
final
- device → String
-
The device code name reported by Android.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- manufacturer → String
-
The device manufacturer, such as Google, Samsung, or Xiaomi.
final
- model → String
-
The device model reported by Android.
final
- product → String
-
The product name reported by Android.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object> - Converts this summary to a map using the native field names.
-
toString(
) → String -
Returns a readable string containing all summary fields.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited