Skip to content

Commit 7225ed1

Browse files
committed
remove unused variables
1 parent 06f9acf commit 7225ed1

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

packages/realtime_client/lib/src/realtime_client.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class RealtimeClient {
5151
String? accessToken;
5252
List<RealtimeChannel> channels = [];
5353
final String endPoint;
54-
final String httpEndpoint;
54+
5555
final Map<String, String> headers;
5656
final Map<String, dynamic> params;
5757
final Duration timeout;
@@ -117,7 +117,6 @@ class RealtimeClient {
117117
logLevel == null ? null : {'log_level': logLevel.name},
118118
)
119119
.toString(),
120-
httpEndpoint = httpEndpointURL(endPoint),
121120
headers = {
122121
...Constants.defaultHeaders,
123122
if (headers != null) ...headers,

packages/realtime_client/lib/src/types.dart

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -408,17 +408,3 @@ class SinglePresenceState {
408408
@override
409409
String toString() => 'PresenceState(key: $key, presences: $presences)';
410410
}
411-
412-
class Channel {
413-
final String name;
414-
final String inserted_at;
415-
final String updated_at;
416-
final int id;
417-
418-
Channel({
419-
required this.name,
420-
required this.inserted_at,
421-
required this.updated_at,
422-
required this.id,
423-
});
424-
}

0 commit comments

Comments
 (0)