isTxt property
bool
get
isTxt
Determines whether a given string represents a text file.
Implementation
bool get isTxt {
return toLowerCase().endsWith('.txt');
}
Determines whether a given string represents a text file.
bool get isTxt {
return toLowerCase().endsWith('.txt');
}