SequenceMiddleResultExpression<E> constructor
SequenceMiddleResultExpression<E> (
- List<
Expression> before, - Expression<
E> expression, - List<
Expression> after
Implementation
SequenceMiddleResultExpression(this.before, this.expression, this.after)
: super(UnmodifiableListView([...before, expression, ...after])) {
if (before.isEmpty) {
throw ArgumentError.value(before, 'before', 'Must not be empty');
}
if (after.isEmpty) {
throw ArgumentError.value(after, 'after', 'Must not be empty');
}
}