GlassLoadVerdict enum Cost and policy

Where a screen's glass sits against the runs that exist.

Not a grade: only overMeasuredCliff says something was measured to go wrong. The others say how far the reading is from a measurement.

final String? warning = switch (load.verdict) {
  GlassLoadVerdict.overMeasuredCliff => 'past the measured cliff',
  GlassLoadVerdict.betweenMeasuredPoints ||
  GlassLoadVerdict.pastMeasuredRange => 'outside what was measured',
  GlassLoadVerdict.withinMeasured ||
  GlassLoadVerdict.hardwareUnmeasured => null,
};

See also:

Inheritance
Available extensions

Values

withinMeasured → const GlassLoadVerdict

Inside the range something was measured on.

pastMeasuredRange → const GlassLoadVerdict

Past the deepest point of the only grid that fitted a law here. Not "too much" — unknown, which is a different word.

betweenMeasuredPoints → const GlassLoadVerdict

Between the last comfortable measurement and the first bad one. On Metal (the M2 iPad Pro) that gap is 12.8 to 19.2 screens and nothing was run inside it.

overMeasuredCliff → const GlassLoadVerdict

At or past a point measured to fall over: on Metal (the M2 iPad Pro), 19.2 screens of glass, where raster time steps by a factor of 18.

hardwareUnmeasured → const GlassLoadVerdict

No run covers this hardware.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<GlassLoadVerdict>
A constant List of the values in this enum, in order of their declaration.