Insight class

Constructors

Insight({String id, InsightType type, String barcode, List countries, String lang, String model, double confidence})
const

Properties

barcode String
final
confidence double
final
countries List
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
final
lang String
final
model String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type InsightType
final

Methods

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

Operators

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

Static Methods

fromJson(List json) List<Insight>
toJson(List<Insight> insights) List<Map<String, dynamic>>