isScalar property

  1. @override
bool get isScalar
override

Whether or not this Quantity has scalar dimensions, including having no angle or solid angle dimensions.

Use isScalarSI to see if these Dimensions are scalar in the strict International System of Units (SI) sense, which allows non-zero angular and solid angular dimensions.

Implementation

@override
bool get isScalar => dimensions.isScalar;