clear method Null safety

void clear ()

Remove all properties.

After this the properties is empty.

Implementation

void clear() {
  _data.clear();
}