AmountEstimate class

Data class that represents the results of the volume detection process.

Constructors

AmountEstimate({EstimationQuality? estimationQuality, MoveDirection? moveDevice, double? volumeEstimate, double? viewingAngle, double? weightEstimate})
const
AmountEstimate.fromJson(Map<String, dynamic> json)
Creates a AmountEstimate instance from a JSON map.
factory

Properties

estimationQuality EstimationQuality?
The quality of the estimate (eventually for feedback to the user or SDK-based app developer).
final
hashCode int
Calculates the hash code for this AmountEstimate object.
no setteroverride
moveDevice MoveDirection?
Hints how to move the device for better estimation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewingAngle double?
The Angel in radians from the perpendicular surface.
final
volumeEstimate double?
Volume estimate.
final
weightEstimate double?
Scanned Amount in grams.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
Compares two AmountEstimate objects for equality.
override