invalidate method Null safety

void invalidate()

Implementation

void invalidate() => _invalidate();