Resolution class

Represents the screen resolution of a device in height and width, expressed in pixels.

Constructors

Resolution({int? height, int? width})
Resolution.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
The screen resolution's height, expressed in pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int?
The screen resolution's width, expressed in pixels.
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