isText property
Implementation
bool get isText {
if (this is File) {
var f = this as File;
return f.mimeTypeType == "text" || f.fileExtensionWithoutDot.flatContainsAny(["txt", "md"]) || isSourceCode;
}
return false;
}
bool get isText {
if (this is File) {
var f = this as File;
return f.mimeTypeType == "text" || f.fileExtensionWithoutDot.flatContainsAny(["txt", "md"]) || isSourceCode;
}
return false;
}