Skip to content

Instantly share code, notes, and snippets.

@zolotyh
Created August 3, 2019 13:31
Show Gist options
  • Save zolotyh/3d0b06ae28e3e8cff8d652338404369a to your computer and use it in GitHub Desktop.
Save zolotyh/3d0b06ae28e3e8cff8d652338404369a to your computer and use it in GitHub Desktop.
import 'dart:io';
void main() {
Directory.current.list().where((FileSystemEntity i) => i is Directory).map((i) => "path $i").listen((i){ stdout.writeln(i); });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment