Barrel class

Constructors

Barrel({required Settings baseSettings, required DirectorySettings dirSettings, required FileSystem fs, required Logger logger})
Barrel.from(Settings baseSettings, DirectorySettings dirSettings, FileSystem fs, Logger logger)
factory

Properties

barrelFile String
no setter
baseSettings Settings
final
dirSettings DirectorySettings
final
fs → FileSystem
final
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

content({required Iterable<String> disclaimer, required Iterable<String> comments, required Iterable<String> externalExports, required Iterable<String> internalExports}) Iterable<String>?
Generate a settings file content
create({required bool allowChange}) Future<({bool contentMatches})?>
Create a settings file content
exports(Iterable<String> files) Iterable<String>
Convert dart files in settings content lines
filterFiles(Iterable<String> files) Iterable<String>
Filter files and dirSettings filters
findFiles() Iterable<String>
Find dart files without settings file
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