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 ambientDensity parameter is the ambientDensity of the measurements input.
getter/setter pairinherited
ambientLineVolume MeasurementInput?
The ambientLineVolume parameter is the ambientLineVolume of the measurements input.
getter/setter pairinherited
ambientTemperature MeasurementInput?
The ambientTemperature parameter is the ambientTemperature of the measurements input.
getter/setter pairinherited
averageTankTemperature MeasurementInput?
The averageTankTemperature parameter 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 correctedLevelHeight parameter is the correctedLevelHeight of the measurements input.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
productLevelHeight MeasurementInput?
The productLevelHeight parameter is the productLevelHeight of the measurements input.
getter/setter pairinherited
referenceHeight MeasurementInput?
The referenceHeight parameter 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 waterHeight parameter 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

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_MeasurementsInput value)?) → TResult?

Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_MeasurementsInput value)?, {required TResult orElse()}) → TResult

Available on MeasurementsInput, provided by the MeasurementsInputPatterns extension

A variant of map that fallback to returning orElse.
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 of when that fallback to an orElse callback.
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

A switch-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 of when that fallback to returning null

Operators

operator ==(Object other) bool
The equality operator.
inherited