single property
double
single
Checks that this vector has only one element, and returns that element.
Throws a StateError if this is empty or has more than one element.
Implementation
double get single => listView.single;