themeGet method

Future<Map<String, dynamic>> themeGet(
  1. String id
)
inherited

themeGet -> /v1/theme/{id}

Requests the details of the theme and theme slides.

PARAMETERS

id (required) : The ID of the theme, either name or index.

  • Example (by_name): Theme Name
  • Example (by_index): 3

RESPONSE 200:

The request was processed successfully.

content-type: application/json

schema:

{
  "type": "object",
  "required": [
    "id",
    "slides"
  ]
}

Implementation

Future<Map<String, dynamic>> themeGet(String id) async {
  String url = '/v1/theme/$id';

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