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
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";
}