has method

bool has(
  1. String key
)

Whether key resolves to a non-empty value.

Implementation

bool has(String key) => maybeGet(key) != null;