then method
Implementation
ArcaneInteraction then(ArcaneInteraction next) {
final List<ArcaneInteraction> combined = <ArcaneInteraction>[];
if (this is _ComposedInteraction) {
combined.addAll((this as _ComposedInteraction).actions);
} else {
combined.add(this);
}
if (next is _ComposedInteraction) {
combined.addAll(next.actions);
} else {
combined.add(next);
}
return _ComposedInteraction(combined);
}