From 7f7fd71c2b2f74e16b511e5e71a1e427e4799929 Mon Sep 17 00:00:00 2001 From: Plague Fox Date: Fri, 4 Aug 2023 08:34:28 +0400 Subject: [PATCH] Add generics --- lib/src/model/metrics.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/model/metrics.dart b/lib/src/model/metrics.dart index c887ffb..2b3e846 100644 --- a/lib/src/model/metrics.dart +++ b/lib/src/model/metrics.dart @@ -102,13 +102,13 @@ final class SpinifyMetrics implements Comparable { 'total': reconnects.total, }, 'subscriptions': >{ - 'client': { + 'client': { 'total': subscriptions.client.total, 'unsubscribed': subscriptions.client.unsubscribed, 'subscribing': subscriptions.client.subscribing, 'subscribed': subscriptions.client.subscribed, }, - 'server': { + 'server': { 'total': subscriptions.server.total, 'unsubscribed': subscriptions.server.unsubscribed, 'subscribing': subscriptions.server.subscribing,