AddPubspecAsset class final
Appends an asset path to the flutter.assets list in pubspec.yaml.
Example
AddPubspecAsset(assetPath: 'assets/config.json')
- Inheritance
-
- Object
- InstallOperation
- AddPubspecAsset
Constructors
- AddPubspecAsset({required String assetPath})
-
Creates an AddPubspecAsset operation.
const
Properties
Methods
-
describe(
) → String -
Returns a human-readable dry-run line for this operation.
override
-
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