from static method

dynamic from(
  1. String type,
  2. dynamic value
)

Implementation

static dynamic from(String type, value) {
  return _predefinedConverters[type]?.from(value);
}