22// for details. All rights reserved. Use of this source code is governed by a
33// BSD-style license that can be found in the LICENSE file.
44
5- import " dart:collection" ;
6- import " dart:typed_data" ;
5+ import ' dart:collection' ;
6+ import ' dart:typed_data' ;
77
8- import " package:collection/collection.dart" ;
8+ import ' package:collection/collection.dart' ;
99
1010import 'typed_buffer.dart' ;
1111
@@ -41,7 +41,7 @@ abstract class _TypedQueue<E, L extends List<E>> with ListMixin<E> {
4141 @override
4242 QueueList <T > cast <T >() {
4343 if (this is QueueList <T >) return this as QueueList <T >;
44- throw UnsupportedError (" $this cannot be cast to the desired type." );
44+ throw UnsupportedError (' $this cannot be cast to the desired type.' );
4545 }
4646
4747 @Deprecated ('Use `cast` instead' )
@@ -62,15 +62,15 @@ abstract class _TypedQueue<E, L extends List<E>> with ListMixin<E> {
6262 }
6363
6464 E removeFirst () {
65- if (_head == _tail) throw StateError (" No element" );
65+ if (_head == _tail) throw StateError (' No element' );
6666 var result = _table[_head];
6767 _head = (_head + 1 ) & (_table.length - 1 );
6868 return result;
6969 }
7070
7171 @override
7272 E removeLast () {
73- if (_head == _tail) throw StateError (" No element" );
73+ if (_head == _tail) throw StateError (' No element' );
7474 _tail = (_tail - 1 ) & (_table.length - 1 );
7575 return _table[_tail];
7676 }
@@ -82,7 +82,7 @@ abstract class _TypedQueue<E, L extends List<E>> with ListMixin<E> {
8282
8383 @override
8484 set length (int value) {
85- RangeError .checkNotNegative (value, " length" );
85+ RangeError .checkNotNegative (value, ' length' );
8686
8787 var delta = value - length;
8888 if (delta >= 0 ) {
0 commit comments