Checker class

Checks widget test files for code that can stall FakeAsync.

Constructors

Checker({String? workingDirectory, String? sdkPath})
Creates a checker; paths in results are shown relative to workingDirectory (default: the current directory).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdkPath → String?
Dart SDK to analyze with, or null for the running one.
final
workingDirectory → String
Directory that relative input paths and displayed paths use.
final

Methods

check(List<String> paths) → Future<CheckResult>
Checks paths: Dart files, or directories searched for *_test.dart.
collectFiles(List<String> paths) → List<String>
Expands paths into the absolute, sorted list of files to check.
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