Formats input according to the pattern and locale of this format.
input
String format(TValue input) => _formatWithLocale(input, locale ?? Intl.getCurrentLocale());