isXmlAnnotationXmlRootElement property

bool isXmlAnnotationXmlRootElement

Returns true if this type represents the type 'XmlRootElement' defined in the xml_annotation library.

Implementation

bool get isXmlAnnotationXmlRootElement =>
    element?.library?.identifier == '$_prefix/xml_root_element.dart' &&
    element?.name == 'XmlRootElement';