BridgesAPI class
Constructors
- BridgesAPI()
-
Create an instance of the Bridges API client, providing access to the
/bridgesendpoint.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addChannel(
String bridgeId, List< String> channels) → Future -
create(
String? name, String? bridgeId, List< String> ? type) → Future -
createOrUpdate(
{String? name, String? bridgeId, List< String> ? type}) → Future -
destroy(
String bridgeId) → Future -
get(
String bridgeId) → Future< HttpClientResponse> -
list(
) → Future -
play(
String bridgeId, dynamic queryParams) → Future< HttpClientResponse> -
record(
String bridgeId, dynamic queryParams) → Future< HttpClientResponse> -
removeChannel(
String bridgeId, List< String> channels) → Future -
startMusicOnHold(
String bridgeId) → Future -
stopMusicOnHold(
String bridgeId, List< String> channels) → Future<HttpClientResponse>