toUnit method
Implementation
double toUnit(BinaryPrefix to, [BinaryPrefix from = BinaryPrefix.none]) {
  if (from == to) return toDouble();
  final withoutPrefix = from.factor * this;
  return withoutPrefix / to.factor;
}double toUnit(BinaryPrefix to, [BinaryPrefix from = BinaryPrefix.none]) {
  if (from == to) return toDouble();
  final withoutPrefix = from.factor * this;
  return withoutPrefix / to.factor;
}