Dart API Referencedart:coreIllegalAccessException

IllegalAccessException class

Exception thrown because of attempt to modify an immutable object.

class IllegalAccessException implements Exception {
  const IllegalAccessException();
  String toString() => "Attempt to modify an immutable object";
}

Implements

Exception

Constructors

const IllegalAccessException() #

const IllegalAccessException();

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "Attempt to modify an immutable object";