clear method

void clear()

Clear map

Implementation

void clear() {
  if (value.isNotEmpty) {
    value = <K, V>{};
  }
}