register static method

void register(
  1. Type type,
  2. Map<String, RelationDescriptor> schema
)

Registers schema for type, replacing any existing registration.

Implementation

static void register(Type type, Map<String, RelationDescriptor> schema) {
  _schemas[type] = Map.unmodifiable(schema);
}