PluginErrorParams class
plugin.error params
{ "isFatal": bool "message": String "stackTrace": String }
Clients may not extend, implement or mix-in this class.
Constructors
- PluginErrorParams(bool isFatal, String message, String stackTrace)
- PluginErrorParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json, {ClientUriConverter? clientUriConverter})
-
factory
- PluginErrorParams.fromNotification(Notification notification, {ClientUriConverter? clientUriConverter})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isFatal ↔ bool
-
A flag indicating whether the error is a fatal error, meaning that the
plugin will shutdown automatically after sending this notification. If
true, the server will not expect any other responses or notifications
from the plugin.
getter/setter pair
- message ↔ String
-
The error message indicating what kind of error was encountered.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace ↔ String
-
The stack trace associated with the generation of the error, used for
debugging the plugin.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{ClientUriConverter? clientUriConverter}) → Map< String, Object> - Returns a JSON presentation of the object.
-
toNotification(
{ClientUriConverter? clientUriConverter}) → Notification -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override