Advisor class

The Advisor service surfaces actionable reports about your project resources, with CTA descriptors for one-click remediation in the console.

Constructors

Advisor(Client client)

Properties

client Client
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteReport({required String reportId}) Future
Delete an analyzer report by its unique ID. Nested insights and CTA metadata are removed asynchronously by the deletes worker.
getInsight({required String reportId, required String insightId}) Future<Insight>
Get an insight by its unique ID, scoped to its parent report.
getReport({required String reportId}) Future<Report>
Get an analyzer report by its unique ID. The response includes the report's metadata and the nested insights it produced.
listInsights({required String reportId, List<String>? queries, bool? total}) Future<InsightList>
List the insights produced under a single analyzer report. You can use the query params to filter your results further.
listReports({List<String>? queries, bool? total}) Future<ReportList>
Get a list of all the project's analyzer reports. You can use the query params to filter your results.
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