DVSubject class final

How a model's rows reach the person they belong to.

A walk over the model graph needs this and nothing else: erasure and export both start from a subject and visit every row whose path leads to it.

Constructors

DVSubject.field(String column)
The row's column column holds the subject's id.
const
DVSubject.through(String column, {required String parent})
The row's column column holds the key of a row of the model named parent, and that row belongs to the subject — an order line through its order.
const

Properties

column → String?
final
hashCode → int
The hash code for this object.
no setterinherited
parent → String?
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.
override

Operators

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

Constants

self → const DVSubject
The row is the subject: its key is the subject's id.