getLabourProfile function
GET /api/{api_version}/labour_profiles/{labour_profile_id}
Implementation
Future<ApiResponse<LabourProfileView>> getLabourProfile(
ExsitedClient client,
Object labourProfileId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(LaboursUrls.labourProfile,
pathParams: {'labour_profile_id': labourProfileId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: LabourProfileView.fromMap);