clear abstract method Null safety

void clear()

Free up memory

Implementation

void clear();