addConverter<T extends Object> static method

void addConverter<T extends Object>(
  1. Converter<String, T> value
)

Configuration for conversions between shell results and dart types. Can be modified at runtime.

Implementation

static void addConverter<T extends Object>(Converter<String, T> value) {
  _map[T] = value;
}