Dart Documentationdistributed_dartUnsupportedOperationError

UnsupportedOperationError class

class UnsupportedOperationError extends Error {
 final message;

 /** The [message] describes the erroneous argument. */
 UnsupportedOperationError([this.message]);

 String toString() {
   if (message != null) {
     return "Not supported operation: $message";
   }
   return "Not supported operation";
 }
}

Extends

Error > UnsupportedOperationError

Constructors

new UnsupportedOperationError([message]) #

The message describes the erroneous argument.

UnsupportedOperationError([this.message]);

Properties

final message #

final message

final StackTrace stackTrace #

inherited from Error
external StackTrace get stackTrace;

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() {
 if (message != null) {
   return "Not supported operation: $message";
 }
 return "Not supported operation";
}