Edge constructor
Edge({})
Implementation
factory Edge({
required int fromVertexId,
required int toVertexId,
int? id,
Set<String>? labels,
Map<String, dynamic>? properties,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return EdgeImpl(
id: id,
fromVertexId: fromVertexId,
toVertexId: toVertexId,
labels: labels ?? {},
properties: properties ?? {},
createdAt: createdAt,
updatedAt: updatedAt,
);
}