hasAttribute method

bool hasAttribute(
  1. String key
)

Check if the model has a specific attribute.

Implementation

bool hasAttribute(String key) => _attributes.containsKey(key);