Display class

display related information of device

Inheritance

Constructors

Display({required bool builtin, required String connection, required int currentResX, required int currentResY, required bool main, required String model, required String pixeldepth, required int positionX, required int positionY, required int resolutionx, required int resolutiony, required int sizex, required int sizey, required String vendor})
Example:

Properties

builtin bool
final
connection String
final
currentResX int
final
currentResY int
final
hashCode int
The hash code for this object.
no setterinherited
main bool
final
model String
final
pixeldepth String
final
positionX int
final
positionY int
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
resolutionx int
final
resolutiony int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizex int
final
sizey int
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
vendor String
final

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) List<Display>
convert from json return List if Display