loadUnitOfMeasures method

Future<List<UnitOfMeasuresDto>> loadUnitOfMeasures({
  1. required String material,
})

Implementation

Future<List<UnitOfMeasuresDto>> loadUnitOfMeasures({
  required String material,
}) async {
  final uomData = await uomProvider.getUnitOfMeasures(material: material);
  return uomProvider.getAlternativeUnits(uomData);
}