FAGConfig.fromJson constructor
FAGConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory FAGConfig.fromJson(Map<String, dynamic> json) => FAGConfig(
outputDir: json["output_dir"],
autoDetection: json["auto_detection"],
namedWithParent: json["named_with_parent"],
outputFilename: json["output_filename"],
className: json["class_name"],
filenameSplitPattern: json["filename_split_pattern"],
includePaths: json["include_paths"] == null
? []
: List<String>.from(json["include_paths"]!.map((x) => x)),
excludePaths: json["exclude_paths"] == null
? []
: List<String>.from(json["exclude_paths"]!.map((x) => x)),
leadingWithPackageName: json["leading_with_package_name"],
uniqifyName: json["uniqify_name"],
);