hasAttribute method

bool hasAttribute(
  1. String attribute
)

Implementation

bool hasAttribute(String attribute) =>
    attributes?.containsKey(attribute) ?? false;