EdgeConnectionsModel<E> class

Constructors

EdgeConnectionsModel.new({String? id, required NodeSocketModel source, required NodeSocketModel target, E? data, LukeEdgePainter? painter, bool isAnimated = false, double animationSpeed = 1})

Properties

animationSpeed double
final
data → E?
final
hashCode int
The hash code for this object.
no setterinherited
id String
latefinal
isAnimated bool
final
painter LukeEdgePainter?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source NodeSocketModel
final
target NodeSocketModel
final

Methods

copy({NodeSocketModel? source, NodeSocketModel? target, E? data, LukeEdgePainter? painter, double? animationSpeed, bool? isAnimated}) EdgeConnectionsModel<E>
Returns a new copy with updated source and/or target sockets.
copyWith({String? id, NodeSocketModel? source, NodeSocketModel? target, E? data, LukeEdgePainter? painter, double? animationSpeed, bool? isAnimated}) EdgeConnectionsModel<E>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson<E>(Map<String, dynamic> json) EdgeConnectionsModel<E>