Backlink class

An annotation for a ToMany field of an Entity class to create a relation based on another relation. See Backlink.new.

Constructors

Backlink([String to = ''])
Marks a ToMany field in an Entity class to indicate the relation should be created based on another relation by reversing the direction.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to → String
Name of the relation the backlink should be based on (e.g. name of a ToOne or ToMany property in the target entity). Can be left empty if there is just a single relation from the target to the source entity.
final

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