Dart API Referencedart:coreIndexOutOfRangeException

IndexOutOfRangeException class

Exception thrown because of an index outside of the valid range.

class IndexOutOfRangeException implements Exception {
  const IndexOutOfRangeException(this._value);

  String toString() => "IndexOutOfRangeException: $_value";

  final _value;
}

Implements

Exception

Constructors

const IndexOutOfRangeException(_value) #

const IndexOutOfRangeException(this._value);

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "IndexOutOfRangeException: $_value";