AndroidModel class

A description of an Android device tests may be run on.

Constructors

AndroidModel({String? brand, String? codename, String? form, String? formFactor, String? id, bool? lowFpsVideoRecording, String? manufacturer, String? name, List<PerAndroidVersionInfo>? perVersionInfo, int? screenDensity, int? screenX, int? screenY, List<String>? supportedAbis, List<String>? supportedVersionIds, List<String>? tags, String? thumbnailUrl})
AndroidModel.fromJson(Map json_)

Properties

brand String?
The company that this device is branded with.
getter/setter pair
codename String?
The name of the industrial design.
getter/setter pair
form String?
Whether this device is virtual or physical. Possible string values are:
getter/setter pair
formFactor String?
Whether this device is a phone, tablet, wearable, etc. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique opaque id for this model.
getter/setter pair
lowFpsVideoRecording bool?
True if and only if tests with this model are recorded by stitching together screenshots.
getter/setter pair
manufacturer String?
The manufacturer of this device.
getter/setter pair
name String?
The human-readable marketing name for this device model.
getter/setter pair
perVersionInfo List<PerAndroidVersionInfo>?
Version-specific information of an Android model.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenDensity int?
Screen density in DPI.
getter/setter pair
screenX int?
Screen size in the horizontal (X) dimension measured in pixels.
getter/setter pair
screenY int?
Screen size in the vertical (Y) dimension measured in pixels.
getter/setter pair
supportedAbis List<String>?
The list of supported ABIs for this device.
getter/setter pair
supportedVersionIds List<String>?
The set of Android versions this device supports.
getter/setter pair
tags List<String>?
Tags for this dimension.
getter/setter pair
thumbnailUrl String?
URL of a thumbnail image (photo) of the device.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited