Skip to content

Commit

Permalink
Refactor SpinifyMetrics$Mutable class and add freeze() method
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed May 18, 2024
1 parent 4c9b230 commit d2ea408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/model/metric.dart
Original file line number Diff line number Diff line change
Expand Up @@ -205,5 +205,6 @@ final class SpinifyMetrics$Mutable extends SpinifyMetrics {
@override
BigInt messagesSent = BigInt.zero;

/// Freezes the metrics.
SpinifyMetrics$Immutable freeze() => const SpinifyMetrics$Immutable();
}

0 comments on commit d2ea408

Please sign in to comment.