DVPubSubTransport class abstract

What this adapter needs from the Pub/Sub REST API.

An interface rather than an HTTP client, so the protocol is testable without a network and so authentication stays with whatever holds the credentials. Pub/Sub uses OAuth bearer tokens against the real service and nothing at all against the emulator.

Constructors

DVPubSubTransport()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String path, Map<String, Object?> body) → Future<Map<String, Object?>>
POST to path with body, returning the decoded JSON object.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited