Builder.fromDirectory constructor
Builder.fromDirectory(
- String directory
Create a new builder from a directory path.
Implementation
factory Builder.fromDirectory(String directory) {
return Builder(
segmentDocument: Segment.fromDirectory(directory),
rootDirectory: directory,
);
}