SnapConnection class

Information on a connection between a snap plugs and slots.

Annotations
  • @immutable
  • @JsonSerializable()

Constructors

SnapConnection({required SnapSlot slot, Map<String, dynamic> slotAttributes = const {}, required SnapPlug plug, Map<String, dynamic> plugAttributes = const {}, required String interface, bool manual = false})
const
SnapConnection.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
interface String
final
manual bool
final
plug SnapPlug
final
plugAttributes Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot SnapSlot
final
slotAttributes Map<String, dynamic>
final

Methods

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.
override

Operators

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