remove method

void remove(
  1. K key
)

Removes an item from the map.

Implementation

void remove(K key) {
  if (isSameType<K, Guid>()) return _remove_Guid(key as Guid);
  if (isSameType<K, int>()) return _remove_Uint32(key as int);
  if (isSameType<K, PedometerStepKind>()) {
    return removeByPedometerStepKind(key as PedometerStepKind);
  }
  if (isSameType<K, String>()) return _remove_String(key as String);

  return _remove_Object(key as IInspectable);
}