hasAttribute method

bool hasAttribute(
  1. String key
)
inherited

Check if the model has a specific attribute.

Implementation

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