DiveCoreResolution class

The various different video resolutions.

Constructors

DiveCoreResolution(String name, int width, int height)
const

Properties

aspectRatio double
no setter
hashCode int
The hash code for this object.
no setterinherited
height int
final
name String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
resolution String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setter
width int
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

indexOf(DiveCoreResolution input) int
Find the index of input in all of the items in DiveCoreResolution.
nameOf(int width, int height) String?
Find the name of the resolution with this width and height.

Constants

all → const List<DiveCoreResolution>
A list of all of the predefined items in DiveCoreResolution.
FULL_HD → const DiveCoreResolution
Full HD resolution: 1920x1080
HD → const DiveCoreResolution
HD resolution: 1280x720
r4K → const DiveCoreResolution
4K resolution
r8K → const DiveCoreResolution
8K resolutions
r720p → const DiveCoreResolution
HD resolution
r1080p → const DiveCoreResolution
Full HD resolution: 1920x1080
r1280_720 → const DiveCoreResolution
HD resolution
r1920_1080 → const DiveCoreResolution
Full HD resolution
r3840_2160 → const DiveCoreResolution
4K resolution
r7680_4320 → const DiveCoreResolution
UHD → const DiveCoreResolution
4K resolution