ConsolidatedValue<T> class

A value that can consolidate data from multiple sources, where the content of this object contains the data from the most reliable source presented.

Constructors

ConsolidatedValue.fromJson(Map<String, dynamic> data)
Returns a ConsolidatedValue type from a JSON
factory

Properties

confidence double
The confidence in the correctness of the value. from 0 to 1.0
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source ModelSource?
no setter
value ↔ T?
The value
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON-representation of ConsolidatedValue
toString() String
A string representation of this object.
inherited

Operators

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