Providers class

Indicates how the service was accessed.

This will be passed to the params object in a service method. When requested on the server side, this will be null.

Constructors

Providers(String via)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
via String
The transport through which the client is accessing this service.
final

Methods

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

Operators

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

Constants

graphQL → const Providers
Represents a request parsed from GraphQL.
rest → const Providers
Represents a request via REST.
viaGraphQL → const String
viaRest → const String
viaWebsocket → const String
websocket → const Providers
Represents a request over WebSockets.