isDocument property
bool
isDocument
Checks if string is a document file name.
Implementation
bool get isDocument => GetFile.docTypes.any(lowercase.endsWith);
Checks if string is a document file name.
bool get isDocument => GetFile.docTypes.any(lowercase.endsWith);