removeProperty method Null safety

void removeProperty(
  1. String? propertyName
)

Removes a property from this instance.

Use this method to use any reference of a property from this instance.

Implementation

void removeProperty(String? propertyName) {
  contents!.remove(propertyName);
}