hasAttribute method

bool hasAttribute(
  1. String name
)

Returns true if this operation has attribute specified by name.

Implementation

bool hasAttribute(String name) =>
    isNotPlain && _attributes!.containsKey(name);