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