toGraph method
Converts this entity to a graph-like structure, including references to parents.
Implementation
@override
Map<String, dynamic> toGraph() {
final graph = super.toGraph();
graph['guid'] = guid;
graph['init'] = init;
graph['increment'] = increment;
graph['sequence'] = sequence;
graph['derive'] = derive;
graph['length'] = length;
graph['type'] = type?.toGraph();
return graph;
}