isDSStore function
Determine if it is a '.DS_Store' file File collection exclusion '.DS_Store' file fixed : IsolateSpawnException: Unable to spawn isolate: xxxx/.DS_Store: Error: The control character U+0000 can only be used in strings and comments.
Implementation
bool isDSStore(String path) => path.contains('.DS_Store');