VideoDimensions class

A simple class that represents dimensions of video.

Available extensions
Annotations

Constructors

VideoDimensions(int width, int height)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
height int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
final

Methods

area() int

Available on VideoDimensions, provided by the VideoDimensionsHelpers extension

Simply returns the area
aspect() double

Available on VideoDimensions, provided by the VideoDimensionsHelpers extension

copyWith({int? width, int? height}) VideoDimensions
max() int

Available on VideoDimensions, provided by the VideoDimensionsHelpers extension

Returns the larger value
min() int

Available on VideoDimensions, provided by the VideoDimensionsHelpers extension

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

Operators

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