BindTo class Models

Used to annotate a relational field and specify a binding target.

The binding target must be a field of the referenced model that refers back to this model. That field must also use the @BindTo annotation set to this field, in order to form a closed loop.

Constructors

BindTo(Symbol name)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name Symbol
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited