SnapSlot class

Information on a snap slot.

Annotations
  • @immutable
  • @JsonSerializable()

Constructors

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

Properties

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