UOMService class
Constructors
- UOMService({required DioClient client})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uomProvider ↔ UOMProvider
-
latefinal
Methods
-
getAlternativeUOMByCurrent(
{required List< UnitOfMeasuresDto> altUOMs, String? currentUOM}) → UnitOfMeasuresDto -
loadUnitOfMeasures(
{required String material}) → Future< List< UnitOfMeasuresDto> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recalculateQuantityFromUOMStringToCurrent(
{required double quantity, required String unitString, required UnitOfMeasuresDto? currentUOM, required List< UnitOfMeasuresDto> altUOMs}) → double? -
recalculateToLastSavedUOM(
{UnitOfMeasuresDto? currentUOM, double quantity = 0}) → double? -
toString(
) → String -
A string representation of this object.
inherited
-
uomFromString(
{required String uom, required List< UnitOfMeasuresDto> altUOMs}) → UnitOfMeasuresDto?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited