DirectorySettings class
- Annotations
-
- @JsonSerializable()
Constructors
-
DirectorySettings({required String dirPath, String? fileName, bool disclaimer = true, String? comments, List<
ExportSettings> exports = const [], List<ExportSettings> include = const [], List<String> exclude = const []}) -
const
- DirectorySettings.fromJson(Map data)
-
factory
Properties
- comments → String?
-
Library comments (copyright)
final
- dirPath → String
-
Folder path to create a index file
final
- disclaimer → bool
-
Adds the generated code disclaimer
final
-
exclude
→ List<
String> -
Black filters
final
-
exports
→ List<
ExportSettings> -
List of export packages
final
- fileName → String?
-
File name with extension
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
include
→ List<
ExportSettings> -
White filters
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
-
barrelFile(
String? defaultName) → String - Gets the path of the barrel file
-
changePath(
String newDir) → DirectorySettings -
name(
String? defaultName) → String - Gets the name of the barrel file, fileName if provided, otherwise the name of the directory
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited