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
-
- Object
- JsonSerializable
- GraphQLSocketMessage
- SubscriptionData
Constructors
- SubscriptionData.new(String id, dynamic data, dynamic errors, dynamic extensions)
Properties
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.
override