Dart Documentationdistributed_dartNotSerializableObjectException

NotSerializableObjectException class

class NotSerializableObjectException implements Exception {
 final String message;
 const NotSerializableObjectException([this.message = ""]);
 String toString() => "NotSerializableObjectException: $message";
}

Implements

Exception

Constructors

const NotSerializableObjectException([String message = ""]) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
const NotSerializableObjectException([this.message = ""]);

Properties

final String message #

final String message

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "NotSerializableObjectException: $message";