getUnitOfMeasures method
Implementation
Future<UnitOfMeasures> getUnitOfMeasures({
required String material,
}) async {
final url = '${Endpoints.unitOfMeasuresUrl}?material_number=$material';
final response = await client.get(url);
response.checkSapMessageHeader();
return UnitOfMeasures.fromJson(response.data);
}