style: stricter linting

This commit is contained in:
Aleksey Kulikov 2022-02-23 11:05:14 +03:00
parent d0f7746a01
commit 2eb50dec69
12 changed files with 47 additions and 27 deletions

View file

@ -394,12 +394,12 @@ class _IndexIterator implements Iterator<IndexEntry> {
}
final Pointer<git_index> _indexPointer;
IndexEntry? _currentEntry;
late IndexEntry _currentEntry;
int _index = 0;
late final int count;
@override
IndexEntry get current => _currentEntry!;
IndexEntry get current => _currentEntry;
@override
bool moveNext() {