presentationGetChordChart method
presentationGetChordChart
-> /v1/presentation/chord_chart
Requests the current chord chart image (if available) at the given quality value.
PARAMETERS
quality
: The desired quality of the thumbnail. The value is the number of pixels in the largest dimension of the image,
i.e. if the image is landscape (wider than it is tall), it is the width of the image. If the image is portrait
(taller than it is wide), it is the height of the image.
Example: 400
RESPONSE 200:
The request was processed successfully.
content-type: image/jpeg
schema:
{
"type": "string",
"required": [],
"format": "binary",
"example": "image data here"
}
Implementation
Future<Uint8List> presentationGetChordChart({int? quality}) async {
String url = '/v1/presentation/chordChart';
Map<String, dynamic> query = {'quality': quality.toString()};
return await call('get', url, params: query, httpAccept: 'image/jpeg');
}