Connection class
- Annotations
-
- @freezed
Constructors
-
Connection({@JsonKey(name: 'user_uuid') required String userUuid, required Map<
String, ConnectedPlatform?> connections}) -
constfactory
-
Connection.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
connections
→ Map<
String, ConnectedPlatform?> -
no setterinherited
-
copyWith
→ $ConnectionCopyWith<
Connection> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userUuid → String
-
no setterinherited
Methods
-
connectionExists(
String platform) → bool -
isConnected(
String platform, String? deviceId) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited