hasValue method

bool hasValue(
  1. K key
)

Implementation

bool hasValue(K key) {
  final value = this[key];
  return value != null;
}