references property
All entities that have to be created before this entity can be created.
For tables, this can be contents of a REFERENCES
clause. For triggers,
it would be the tables watched.
If an entity contains an (invalid) null reference, that should not be included in references.
The generator will verify that the graph of entities and references is acyclic and sort them topologically.
Implementation
@override
Iterable<MoorSchemaEntity> get references {
if (table == null) {
return const Iterable.empty();
}
return [table!];
}