MarkdownReporter class
Formats and generates GitHub Flavored Markdown (GFM) reports for CI/CD environments.
Constructors
- MarkdownReporter({required AnalysisReport report, required Directory projectRoot, PackageDependenciesReport? depReport, AssetAnalysisReport? assetReport})
- Creates a new MarkdownReporter.
Properties
- assetReport → AssetAnalysisReport?
-
Optional assets and fonts report.
final
- depReport → PackageDependenciesReport?
-
Optional external dependencies report.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- projectRoot → Directory
-
Root directory of the project.
final
- report → AnalysisReport
-
The code analysis report.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
) → String - Generates the full Markdown report as a string.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveToFile(
String filePath) → File -
Writes the generated Markdown report directly to
filePath. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited