isTxtFileName property

bool get isTxtFileName

Discover if the String is a text file name

Example:

bool isTxt = "document.txt".isTxtFileName;
// Result: true

Implementation

bool get isTxtFileName => GetUtils.isTxt(this);