runSequenceSame method
Executes this commands sequence
invoking the provider for each task's args.
Implementation
Future<bool> runSequenceSame(ArgsProvider provider) async {
bool result = true;
final def = <String, dynamic>{};
for (var task in _sequence) {
if (!result) {
break;
} else {
final ta = (provider(task.name) ?? def);
result = await task.runWith(ta) ?? false;
}
}
return result;
}