fix new pedantic lint (#105)
diff --git a/lib/src/queue_list.dart b/lib/src/queue_list.dart
index 7bf307b..b2861d6 100644
--- a/lib/src/queue_list.dart
+++ b/lib/src/queue_list.dart
@@ -94,7 +94,9 @@
}
}
} else {
- for (E element in iterable) _add(element);
+ for (E element in iterable) {
+ _add(element);
+ }
}
}
@@ -253,8 +255,10 @@
}
int get _head => _delegate._head;
+
set _head(int value) => _delegate._head = value;
int get _tail => _delegate._tail;
+
set _tail(int value) => _delegate._tail = value;
}
diff --git a/pubspec.yaml b/pubspec.yaml
index 926b5c4..d8775b2 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -6,7 +6,6 @@
homepage: https://www.github.com/dart-lang/collection
environment:
- # Required for Dart 2.0 collection changes.
sdk: '>=2.0.0 <3.0.0'
dev_dependencies: