isXML property
bool
get
isXML
Checks if a file path or URL represents an XML file.
Implementation
bool get isXML {
final mt = mimeType();
return mt == 'application/xml' || mt == 'text/xml';
}
Checks if a file path or URL represents an XML file.
bool get isXML {
final mt = mimeType();
return mt == 'application/xml' || mt == 'text/xml';
}