allQuantityTypes top-level property

Iterable<Type> get allQuantityTypes

Returns an iterable of Type objects representing all of the quantity types supported by this library (for example, Angle, Length, etc.).

  • The Iterable provides the types in alphabetical order.
  • MiscQuantity is not included (as it is a catch-all for all quantity types that are NOT explicitly supported).

Implementation

Iterable<Type> get allQuantityTypes => _typeInstantiatorMap.keys;