getAttribute method

dynamic getAttribute(
  1. String name
)

Implementation

dynamic getAttribute(final String name) {
  for (int i = attributes_.length; i-- > 0;) {
    final Attribute attr = attributes_[i];
    if (name == attr.name) {
      return attr.value;
    }
  }

  return null;
}