discontinuedPackage general_lib has been discontinued.

AsciiTree class

GeneralLib

Constructors

AsciiTree()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromFiles(List<String> files, {String? baseDir, required bool showFileSizes}) → String
Draws a tree for the given list of files
fromMap(Map<String, Map> map, {bool startingAtTop = true}) → String
Draws a tree from a nested map. Given a map like: