Kaynağa Gözat

Fix lint issue

xuty 3 yıl önce
ebeveyn
işleme
cefa8810b4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lib/src/utils/circular_list.dart

+ 1 - 1
lib/src/utils/circular_list.dart

@@ -52,7 +52,7 @@ class CircularList<T> {
   void forEach(void Function(T item) callback) {
     final length = _length;
     for (int i = 0; i < length; i++) {
-      callback(_array[_getCyclicIndex(i)]!);
+      callback(_array[_getCyclicIndex(i)] as T);
     }
   }