descriptor static method

RelationDescriptor? descriptor(
  1. Type type,
  2. String name
)

The descriptor for relation name on type, or null.

Implementation

static RelationDescriptor? descriptor(Type type, String name) => _schemas[type]?[name];