MeasurementsInput class abstract
A model class representing a measurements input.
- Available extensions
- Annotations
-
- @unfreezed
Constructors
- MeasurementsInput({MeasurementInput? referenceHeight, MeasurementInput? productLevelHeight, MeasurementInput? correctedLevelHeight, MeasurementInput? waterHeight, MeasurementInput? ambientLineVolume, MeasurementInput? ambientDensity, MeasurementInput? ambientTemperature, MeasurementInput? averageTankTemperature})
-
Creates a new MeasurementsInput instance.
factory
-
MeasurementsInput.fromJson(Map<
String, dynamic> json) -
Creates a new MeasurementsInput instance from a JSON map.
factory
Properties
- ambientDensity ↔ MeasurementInput?
-
The
ambientDensityparameter is the ambientDensity of the measurements input.getter/setter pairinherited - ambientLineVolume ↔ MeasurementInput?
-
The
ambientLineVolumeparameter is the ambientLineVolume of the measurements input.getter/setter pairinherited - ambientTemperature ↔ MeasurementInput?
-
The
ambientTemperatureparameter is the ambientTemperature of the measurements input.getter/setter pairinherited - averageTankTemperature ↔ MeasurementInput?
-
The
averageTankTemperatureparameter is the averageTankTemperature of the measurements input.getter/setter pairinherited -
copyWith
→ $MeasurementsInputCopyWith<
MeasurementsInput> -
Create a copy of MeasurementsInput
with the given fields replaced by the non-null parameter values.
no setterinherited
- correctedLevelHeight ↔ MeasurementInput?
-
The
correctedLevelHeightparameter is the correctedLevelHeight of the measurements input.getter/setter pairinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- productLevelHeight ↔ MeasurementInput?
-
The
productLevelHeightparameter is the productLevelHeight of the measurements input.getter/setter pairinherited - referenceHeight ↔ MeasurementInput?
-
The
referenceHeightparameter is the referenceHeight of the measurements input.getter/setter pairinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- waterHeight ↔ MeasurementInput?
-
The
waterHeightparameter is the waterHeight of the measurements input.getter/setter pairinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_MeasurementsInput value)) → TResult -
Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_MeasurementsInput value)?) → TResult? -
Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_MeasurementsInput value)?, {required TResult orElse()}) → TResult -
Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(MeasurementInput? referenceHeight, MeasurementInput? productLevelHeight, MeasurementInput? correctedLevelHeight, MeasurementInput? waterHeight, MeasurementInput? ambientLineVolume, MeasurementInput? ambientDensity, MeasurementInput? ambientTemperature, MeasurementInput? averageTankTemperature)?, {required TResult orElse()}) → TResult -
Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this MeasurementsInput to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(MeasurementInput? referenceHeight, MeasurementInput? productLevelHeight, MeasurementInput? correctedLevelHeight, MeasurementInput? waterHeight, MeasurementInput? ambientLineVolume, MeasurementInput? ambientDensity, MeasurementInput? ambientTemperature, MeasurementInput? averageTankTemperature)) → TResult -
Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(MeasurementInput? referenceHeight, MeasurementInput? productLevelHeight, MeasurementInput? correctedLevelHeight, MeasurementInput? waterHeight, MeasurementInput? ambientLineVolume, MeasurementInput? ambientDensity, MeasurementInput? ambientTemperature, MeasurementInput? averageTankTemperature)?) → TResult? -
Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited