SendImage class

Inheritance

Constructors

SendImage({OpenFoodFactsLanguage lang, String barcode, Uri imageUrl, ImageField imageField = ImageField.OTHER})
SendImage.fromJson(Map<String, dynamic> json)
factory

Properties

barcode String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
imageField ImageField
read / write
imageUrl Uri
read / write
lang OpenFoodFactsLanguage
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getImageDataKey() String
the json key depending on the image field of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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