shouldAttribute method

void shouldAttribute(
  1. String? key,
  2. String? value
)

Implementation

void shouldAttribute(String? key, String? value) {
  if (element!=null && isOnCurrentTag()) {
    this.onAttribute(key, value);
  }
}