From 91909e01b5a0f0e3048e37e149699c080a519412 Mon Sep 17 00:00:00 2001 From: Leo Huang Date: Thu, 23 May 2024 10:56:04 +1000 Subject: [PATCH] Remove unused meta dependency --- lib/src/util/_transaction_id_generator.dart | 5 ----- pubspec.lock | 2 +- pubspec.yaml | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/src/util/_transaction_id_generator.dart b/lib/src/util/_transaction_id_generator.dart index df261165..b5270479 100644 --- a/lib/src/util/_transaction_id_generator.dart +++ b/lib/src/util/_transaction_id_generator.dart @@ -1,11 +1,6 @@ -import 'package:meta/meta.dart'; - abstract class TransactionIdGenerator { static int _id = 0; - @visibleForTesting - static int get id => _id; - static String getNextId() { _id++; return _id.toString(); diff --git a/pubspec.lock b/pubspec.lock index eefc3cc3..6e54d3b1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -332,7 +332,7 @@ packages: source: hosted version: "0.8.0" meta: - dependency: "direct main" + dependency: transitive description: name: meta sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 diff --git a/pubspec.yaml b/pubspec.yaml index 676577df..6e7f1db7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,6 @@ environment: dependencies: collection: ^1.15.0 async: ^2.5.0 - meta: ^1.8.0 flutter: sdk: flutter