getAllFileNamesByExtension function
Fetches the names of all files with the specified extension.
extension
: Extension without the dot (e.g., 'txt').
Example:
getAllFileNamesByExtension('example');
Implementation
Future<List<String>> getAllFileNamesByExtension(String extension) {
return _getAllFileNamesByExtension(extension);
}