MultipleElementsFoundException constructor
MultipleElementsFoundException({
- required DartElementMatcher matcher,
- required DartElementsParent<
DartElement> source, - required List<
DartElement> elementsFound,
Implementation
MultipleElementsFoundException(
{required this.matcher,
required this.source,
required this.elementsFound})
: message =
'Found more than one element on source $source with matcher $matcher.'
'Total elements found: ${elementsFound.length}';