release method Null safety

void release()

Implementation

void release() {
  handle = false;
}