transportTimeGet method

Future<Map<String, dynamic>> transportTimeGet(
  1. String layer
)
inherited

transportTimeGet -> /v1/transport/{layer}/time

Requests the current transport time for the specified layer (presentation, announcement, audio).

PARAMETERS

layer : The layer to perform the transport operation on

  • Should be one of: presentation, announcement, audio

RESPONSE 200:

The request was processed successfully.

content-type: application/json

schema:

{
  "type": "number",
  "required": [],
  "example": 15.2
}

Implementation

Future<Map<String, dynamic>> transportTimeGet(String layer) async {
  String url = '/v1/transport/$layer/time';

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