ResolvedSource class
The outcome of resolveSource: which source was chosen and what (if anything) was ignored along the way.
Constructors
-
ResolvedSource({required ConfigSourceKind kind, String? path, List<
String> ignoredLegacy = const <String>[], bool isMultiFlavor = false}) -
Creates a ResolvedSource.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoredLegacy
→ List<
String> -
Legacy
flutter_launcher_icons-*.yamlfiles that coexisted with the chosen source. Only populated for ConfigSourceKind.consolidatedFlavors. Phase 4 may escalate this to an error via--strict.final - isMultiFlavor → bool
-
Whether the chosen file is a multi-flavor file (has a top-level
flavors:key). Set by resolveSource for both ConfigSourceKind.consolidatedFlavors and ConfigSourceKind.explicitFile (after sniffing).final - kind → ConfigSourceKind
-
Selected source kind.
final
- path → String?
-
Filesystem path of the chosen file.
nullfor ConfigSourceKind.pubspecInline.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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