Kaynağa Gözat

add type notation

xuty 4 yıl önce
ebeveyn
işleme
68a6b63c32
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lib/utli/lookup_table.dart

+ 1 - 1
lib/utli/lookup_table.dart

@@ -22,7 +22,7 @@ class FastLookupTable<T> {
   late final List<T?> _table;
   late final int _maxIndex;
 
-  operator [](int index) {
+  T? operator [](int index) {
     if (index > _maxIndex) {
       return null;
     }