isCompatible method

bool isCompatible(
  1. Dimension dim
)

Whether dim is compatible with this dimension.

Implementation

bool isCompatible(Dimension dim) => dim._def.toString() == _def.toString();