one method

ToOne? one(
  1. String name
)

Returns a to-one relationship by its name.

Implementation

ToOne? one(String name) => _rel<ToOne>(name);