dir_tree 1.0.0 icon indicating copy to clipboard operation
dir_tree: ^1.0.0 copied to clipboard

A Dart library for creating a Dart object to represent directory trees.

example/main.dart

import 'package:dir_tree/dir_tree.dart';

void main(List<String> args) async {
  /// Get directory list
  final red = await DirectoryTree.get(path: '../lib/src/util');

  if (red != null) {
    var json = jsonPretty(red.toMap());
    print(json);
  }
}
1
likes
120
pub points
46%
popularity

Publisher

unverified uploader

A Dart library for creating a Dart object to represent directory trees.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

equatable, path, test

More

Packages that depend on dir_tree