has method

bool has(
  1. String key
)

Check if an attribute exists.

Implementation

bool has(String key) {
  return _attributes.containsKey(key);
}