SubscriptionData class

Data sent from the server to the client with subscription data or error payload. The user should check the errors result before processing the data value. These error are from the query resolvers.

Inheritance

Constructors

SubscriptionData(String id, dynamic data, dynamic errors)

Properties

data → dynamic
final
errors → dynamic
final
hashCode int
The hash code for this object.
no setteroverride
id String
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 ==(dynamic other) bool
The equality operator.
override