getAdapter static method

ValuedWidgetAdapter getAdapter(
  1. String name
)

Implementation

static ValuedWidgetAdapter getAdapter(String name) {
  ValuedWidgetAdapter? result = _adapters[(platform, name)] ?? _adapters[("", name)];

  if (result == null)
    throw Exception("missing adapter for type $name");

  return result;
}