FormatStats class

Aggregate statistics across the candidate formats, used to normalise resolution penalties (so max/min can be scored relative to the field).

Constructors

FormatStats({required int minVideoArea, required int maxVideoArea, required int minPhotoArea, required int maxPhotoArea})
const
FormatStats.from(List<CameraDeviceFormat> formats)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxPhotoArea → int
final
maxVideoArea → int
final
minPhotoArea → int
final
minVideoArea → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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