SubscriptionError class

Errors sent from the server to the client if the subscription operation was not successful, usually due to GraphQL validation errors.

Inheritance

Constructors

SubscriptionError(String id, dynamic payload)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
final
payload → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited