LuminousIntensityUnit enum
Represents units for luminous intensity.
This enum implements the Unit interface to provide conversion capabilities and a display symbol for each luminous intensity unit. All conversion factors are pre-calculated in the constructor relative to Candela (cd), which is the SI base unit for luminous intensity.
- Inheritance
- Implemented types
- Available extensions
Values
- candela → const LuminousIntensityUnit
-
Candela (cd), the SI base unit of luminous intensity. It is defined by taking the fixed numerical value of the luminous efficacy of monochromatic radiation of frequency 540 × 10¹² Hz, Kcd, to be 683 when expressed in the unit lm W⁻¹, which is equal to cd sr W⁻¹ or cd sr kg⁻¹ m⁻² s³.
const LuminousIntensityUnit(1, 'cd') - millicandela → const LuminousIntensityUnit
-
Millicandela (mcd), equal to 0.001 candelas. Commonly used for LEDs and indicator lights.
const LuminousIntensityUnit(LuminousIntensityFactors.candelasPerMillicandela, 'mcd') - kilocandela → const LuminousIntensityUnit
-
Kilocandela (kcd), equal to 1000 candelas. A less common unit, might be used for very high-intensity light sources like searchlights or lighthouses.
const LuminousIntensityUnit(LuminousIntensityFactors.candelasPerKilocandela, 'kcd')
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
- symbol → String
-
The human-readable symbol for this luminous intensity unit (e.g., "cd", "mcd").
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
Constants
-
values
→ const List<
LuminousIntensityUnit> - A constant List of the values in this enum, in order of their declaration.