getCustomerTitle method
Implementation
Future<String?> getCustomerTitle(String customerId,
{RequestConfig? requestConfig}) async {
return nullIfNotFound(
(RequestConfig requestConfig) async {
var options = defaultHttpOptionsFromConfig(requestConfig);
options.responseType = ResponseType.plain;
var response = await _tbClient
.get<String>('/api/customer/$customerId/title', options: options);
return response.data;
},
requestConfig: requestConfig,
);
}