isTxt property
bool
get
isTxt
Checks if string is an txt file.
Implementation
bool get isTxt => toLowerCase().endsWith(".txt");
Checks if string is an txt file.
bool get isTxt => toLowerCase().endsWith(".txt");