RobotoffQuestion class

Constructors

RobotoffQuestion({String barcode, String type, String value, String question, String insightId, InsightType insightType, String imageUrl})
const

Properties

barcode String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
imageUrl String
@JsonKey(name: "source_image_url"), final
insightId String
@JsonKey(name: "insight_id"), final
insightType InsightType
@JsonKey(name: "insight_type"), final
question String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
final
value String
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<RobotoffQuestion>
toJson(List<RobotoffQuestion> questions) List<Map<String, dynamic>>