SnapdConnectionsResponse class

Response received when getting connections.

Annotations
  • @immutable
  • @JsonSerializable()

Constructors

SnapdConnectionsResponse({List<SnapConnection> established = const [], List<SnapPlug> plugs = const [], List<SnapSlot> slots = const [], List<SnapConnection> undesired = const []})
const
SnapdConnectionsResponse.fromJson(Map<String, dynamic> json)
factory

Properties

established List<SnapConnection>
Connections that have been established.
final
hashCode int
The hash code for this object.
no setterinherited
plugs List<SnapPlug>
Plugs on this system.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slots List<SnapSlot>
Slots on this system.
final
undesired List<SnapConnection>
Auto-connected connections that have been manually disconnected.
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.
inherited