remove<T> method

T? remove<T>(
  1. String key
)

Removes a property and returns its value.

Returns the removed value, or null if the property didn't exist.

Implementation

T? remove<T>(String key) => _properties.remove(key) as T?;