Map<String, String>? getElementAttributes(T? element) { throw UnsupportedError("Can't get element attributes: $element"); }