getAllLabels method
Returns a paginated list of labels.
Implementation
Future<PageBeanString> getAllLabels({int? startAt, int? maxResults}) async {
return PageBeanString.fromJson(await _client.send(
'get',
'rest/api/3/label',
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
},
));
}