RequiredClass class final
A top-level class that a provider must generate; the parameters are those of its unnamed constructor.
- Inheritance
-
- Object
- RequiredSymbol
- RequiredClass
Constructors
Properties
- constConstructor → bool
-
Whether the unnamed constructor must be
const, so other code can create constant instances.final - hashCode → int
-
The hash code for this object.
no setterinherited
- importRef → ImportRef
-
The import of path, for code that uses the symbol.
no setterinherited
- name → String
-
The name of the symbol.
finalinherited
-
namedParameters
→ List<
String> -
The named parameters that callers pass; the symbol may have other
named parameters only if they are optional.
finalinherited
- path → String
-
The path of the file that declares it, relative to the project root,
such as
lib/bootstrap.dart.finalinherited - positionalArguments → int
-
How many positional arguments callers pass.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkIn(
Map< String, DartFileIndex> files) → List<SmfIssue> -
Checks that
files, indexes by path, declare this symbol as required, and returns the problems found.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited