SequenceFirstLastResultExpression<E1, E2> constructor
SequenceFirstLastResultExpression<E1, E2> (
- Expression<
E1> first, - List<
Expression> middle, - Expression<
E2> last
Implementation
SequenceFirstLastResultExpression(this.first, this.middle, this.last)
: super(UnmodifiableListView([first, ...middle, last])) {
if (middle.isEmpty) {
throw ArgumentError.value(middle, 'middle', 'Must not be empty');
}
}