ProjectInit class consumer producer tasks

Task to prepare a flutter project for using klutter plugins.

Inheritance

Constructors

ProjectInit({Executor? executor})
Create new Task based of the root folder.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskName TaskName
The name of this task.
finalinherited
taskOptions Map<TaskOption, Input>
All acceptable options for this taskName.
finalinherited

Methods

execute(Context context) Future<TaskResult>
Execute the task.
inherited
executeOrThrow(Context context) Future
Execute the task and return instance of T or throw KlutterException if unsuccessful.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBeExecuted(Context context, Map<TaskOption, dynamic> options) Future<void>
Task logic implemented by the child class which will be executed.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited