Skip to content

Commit

Permalink
Add generics
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Aug 4, 2023
1 parent 453c432 commit 7f7fd71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/model/metrics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ final class SpinifyMetrics implements Comparable<SpinifyMetrics> {
'total': reconnects.total,
},
'subscriptions': <String, Map<String, int>>{
'client': {
'client': <String, int>{
'total': subscriptions.client.total,
'unsubscribed': subscriptions.client.unsubscribed,
'subscribing': subscriptions.client.subscribing,
'subscribed': subscriptions.client.subscribed,
},
'server': {
'server': <String, int>{
'total': subscriptions.server.total,
'unsubscribed': subscriptions.server.unsubscribed,
'subscribing': subscriptions.server.subscribing,
Expand Down

0 comments on commit 7f7fd71

Please sign in to comment.