toJson method

Map<String, dynamic> toJson()

Implementation

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