DiveCoreResolution class

The various different video resolutions.

Constructors

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

Properties

aspectRatio double
read-only
hashCode int
The hash code for this object.
read-onlyinherited
height int
final
name String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
read-only
resolution String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
read-only
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.
[r8K, UHD, FULL_HD, HD]
FULL_HD → const DiveCoreResolution
Full HD resolution: 1920x1080
r1920_1080
HD → const DiveCoreResolution
HD resolution: 1280x720
r1280_720
r4K → const DiveCoreResolution
4K resolution
UHD
r8K → const DiveCoreResolution
8K resolutions
r7680_4320
r720p → const DiveCoreResolution
HD resolution
HD
r1080p → const DiveCoreResolution
Full HD resolution: 1920x1080
FULL_HD
r1280_720 → const DiveCoreResolution
HD resolution
DiveCoreResolution('HD', 1280, 720)
r1920_1080 → const DiveCoreResolution
Full HD resolution
DiveCoreResolution('Full HD', 1920, 1080)
r3840_2160 → const DiveCoreResolution
4K resolution
DiveCoreResolution('4K UHD', 3840, 2160)
r7680_4320 → const DiveCoreResolution
DiveCoreResolution('8K', 7680, 4320)
UHD → const DiveCoreResolution
4K resolution
r3840_2160