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.

Constants

VIA_REST → String

"rest"
VIA_WEBSOCKET → String

"websocket"

Static Properties

REST Providers

Represents a request via REST.

read-only
WEBSOCKET Providers

Represents a request over WebSockets.

read-only

Constructors

Providers(String via)

const

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
via → String

The transport through which the client is accessing this service.

read-only

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited