LabeledValue<T>.format constructor
LabeledValue<T>.format (
- T value,
- Formatter formatter
Creates a new LabeledValue by executing the provided formatter
on
the provided value
.
Implementation
factory LabeledValue.format(T value, Formatter formatter) =>
LabeledValue(value, formatter.format(value));