isText property

bool get isText

Implementation

bool get isText =>
    ['txt', 'md', 'csv', 'log', 'yaml', 'yml'].contains(extension);