Edge class abstract

Implemented types

Constructors

Edge({required int fromVertexId, required int toVertexId, int? id, Set<String>? labels, Map<String, dynamic>? properties, DateTime? createdAt, DateTime? updatedAt})
factory
Edge.fromJson(Map<String, dynamic> json)
factory
Edge.fromMap(Map<String, dynamic> map)
factory

Properties

createdAt → DateTime?
no setterinherited
fromVertexId → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → int?
no setterinherited
labels → Set<String>
no setterinherited
properties → Map<String, dynamic>
no setterinherited
propertyKeys → Set<String>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toVertexId → int
no setter
updatedAt → DateTime?
no setterinherited

Methods

copyWith({int? id, int? fromVertexId, int? toVertexId, Set<String>? labels, Map<String, dynamic>? properties, DateTime? createdAt, DateTime? updatedAt}) → Edge
getProperty(String key) → Object?
inherited
getPropertyType(String key) → DatabaseValueType
inherited
hasAnyLabel(List<String> labels) → bool
inherited
hasProperty(String key) → bool
inherited
isConnectedTo(int vertexId) → bool
isOutgoingFrom(vertexId) || isIncomingTo(vertexId)
isIncomingTo(int vertexId) → bool
--[this]-> vertexId
isOutgoingFrom(int vertexId) → bool
vertexId --[this]->
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeProperty(String key) → void
inherited
setProperty(String key, Object? value) → void
inherited
toJson() → Map<String, dynamic>
toMap() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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