to method
Convertes the given value
from this
unit to the other
unit.
Throws ArgumentError
if its not possible to
convert between the two units.
Implementation
@override
String to(Converter<String> other, String value) {
final o = typeCheckConverter<NumberConverter>(other);
final base = int.parse(value, radix: radix);
return base.toRadixString(o.radix).toUpperCase();
}