Skip to content

Doctor

Category: Doctor

Source: doctor.dart

Enums

DoctorSeverity

ValueDescription
ok
info
warning
error

Classes

DoctorFinding

Constructor

dart
const DoctorFinding({
    required this.severity,
    required this.section,
    required this.message,
    this.path,
  })

Properties

PropertyTypeDescription
severityDoctorSeverity
sectionString
messageString
pathString?

DoctorReport

Constructor

dart
const DoctorReport(this.findings)

Properties

PropertyTypeDescription
findingsList<DoctorFinding>
okCountint get
infoCountint get
warningCountint get
errorCountint get
hasErrorsbool get
okCountint get
infoCountint get
warningCountint get
errorCountint get
hasErrorsbool get

Functions

DoctorReport runDoctor(Environment environment)

String renderDoctorReport(DoctorReport report, {bool verbose = false})

Released under the MIT License.