lowestRating property

int lowestRating

Return the lowest rating present in this history.

Throws StateError if points is empty.

Implementation

int get lowestRating {
  if (isEmpty) {
    throw StateError('No element');
  }

  return lowest.rating;
}