SnapPlug class

Information on a snap plug.

Annotations
  • @immutable
  • @JsonSerializable()

Constructors

SnapPlug({required String snap, required String plug, Map<String, dynamic> attributes = const {}, String? interface, List<SnapSlot> connections = const []})
const
SnapPlug.fromJson(Map<String, dynamic> json)
factory

Properties

attributes Map<String, dynamic>
final
connections List<SnapSlot>
final
hashCode int
The hash code for this object.
no setteroverride
interface String?
The interface this plug uses.
final
plug String
The plug name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snap String
The snap this plug is provided by.
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