basesValue constant Null safety

Map<Bases, num> const basesValue

Establishes relation between type of Bases and their logarithmic value

Implementation

static const Map<Bases, num> basesValue = {
  Bases.Metric: 1000,
  Bases.Binary: 1024
};