clear method Null safety

void clear()

Implementation

void clear() {
  _content = null;
}