propTrigger method

Future<bool> propTrigger(
  1. String id
)
inherited

propTrigger -> /v1/prop/{id}/trigger

Triggers the specified prop.

PARAMETERS

id : The ID of the prop, either UUID, name, or index.

  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4
  • Example (by_name): Prop Name
  • Example (by_index): 3

RESPONSE 204:

The request was processed successfully. There is no response body.

content-type: NONE

Implementation

Future<bool> propTrigger(String id) async {
  String url = '/v1/prop/$id/trigger';

  return await call('get', url, httpAccept: 'application/json');
}