registerType static method

void registerType(
  1. String type,
  2. SchemaElement factory(
    1. Map<String, dynamic>
    )
)

Implementation

static void registerType(
  String type,
  SchemaElement Function(Map<String, dynamic>) factory,
) {
  _typeRegistry[type] = factory;
}