int getUnitAsMilliseconds(Object? unit, [int amount = 1]) { var ms = _getUnitMilliseconds(unit)!; return ms * amount; }