IndexOutOfBoundsException constructor
Throws an exception when the RadioGroupController tries to set a value at an index that is outside of the RadioGroup's value list's range.
index
is the index that is throwing the error.
iterable
is the value list for the radio group.
Implementation
IndexOutOfBoundsException({int? index, Iterable? iterable}) {
throw ("$_errMsgPt1 "
"${index ?? '[index not provided to exception thrower]'} $_errMsgPt2 "
"${iterable?.length ?? '[iterable length not provided to exception thrower]'}"
"$_errMsgPt3");
}