DoctorCommand class
Command to show environment and cache location information.
- Inheritance
-
- Object
- BaseCommand
- DoctorCommand
Constructors
Properties
- colorOutput ↔ bool
-
Whether color output is enabled.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonOutput ↔ bool
-
Whether JSON output is enabled.
getter/setter pairinherited
- quiet ↔ bool
-
Whether quiet output is enabled.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose ↔ bool
-
Whether verbose output is enabled.
getter/setter pairinherited
Methods
-
formatSize(
int bytes) → String -
Formats a size in bytes to human-readable format.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printError(
String message) → void -
Prints an error message.
inherited
-
printMessage(
String message) → void -
Prints a message if not in quiet mode.
inherited
-
printVerbose(
String message) → void -
Prints verbose message if verbose mode is enabled.
inherited
-
repeatString(
String str, int count) → String -
Repeats a string a given number of times.
inherited
-
run(
) → Future< int> - Runs the doctor command.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited