flutter library

Flutter-compatible WebSocket client library for the Angel framework.

Classes

Angel
Represents an Angel server that we are querying.
AngelAuthResult
Represents the result of authentication with an Angel server.
Service<Id, Data>
Queries a service on an Angel server, with the same API.
ServiceList<Id, Data>
A List that automatically updates itself whenever the referenced service fires an event.
WebSocketAction
A command sent to the server, usually corresponding to a service method.
WebSocketEvent<Data>
A notification from the server that something has occurred.
WebSockets
Queries an Angel server via WebSockets.

Typedefs

AngelConfigurer = FutureOr<void> Function(Angel app)
A function that configures an Angel client in some way.
AngelDeserializer<T> = T? Function(dynamic x)
A function that deserializes data received from the server.

Exceptions / Errors

AngelHttpException
Exception class that can be serialized to JSON and serialized to clients. Carries HTTP-specific metadata, like statusCode.