contains method

bool contains(
  1. String key
)

Checks if Backpack contains a key.

Implementation

bool contains(String key) {
  return _values.containsKey(key);
}