JsonObject class abstract
interface class for all serializable json model objects.
- Implementers
- Agribalyse
- Attribute
- AttributeGroup
- BadgeBase
- Correction
- EcoscoreAdjustments
- EcoscoreData
- EventsBase
- Ingredient
- InsightsResult
- KeyStats
- KnowledgePanel
- KnowledgePanelActionElement
- KnowledgePanelElement
- KnowledgePanelGeoPointer
- KnowledgePanelImageElement
- KnowledgePanelLatLng
- KnowledgePanelPanelGroupElement
- KnowledgePanelPanelIdElement
- KnowledgePanelTableCell
- KnowledgePanelTableColumn
- KnowledgePanelTableElement
- KnowledgePanelTableRowElement
- KnowledgePanelTextElement
- KnowledgePanelWorldMapElement
- LeaderboardEntry
- LocalizedTag
- Nutriments
- OcrIngredientsResult
- OcrPackagingResult
- OrderedNutrient
- OrderedNutrients
- OriginsOfIngredients
- Packaging
- Product
- ProductList
- ProductPackaging
- ProductResult
- ProductResultField
- ProductResultFieldAnswer
- ProductResultV3
- ProductStats
- ProductTag
- RobotoffQuestion
- RobotoffQuestionResult
- SearchResult
- SendImage
- SpellingCorrection
- Status
- TaxonomyAdditive
- TaxonomyAllergen
- TaxonomyCategory
- TaxonomyCountry
- TaxonomyIngredient
- TaxonomyLabel
- TaxonomyLanguage
- TaxonomyNova
- TaxonomyOrigin
- TaxonomyPackaging
- TaxonomyPackagingMaterial
- TaxonomyPackagingRecycling
- TaxonomyPackagingShape
- TermCorrections
- TitleElement
- User
- UserAgent
Constructors
- JsonObject()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toData(
) → Map< String, String> -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
toValueString(
) → String - Returns all values as a String separated by a hyphen value1 - value2 - value3
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseBool(
dynamic json) → bool -
parseDouble(
dynamic json) → double? -
parseInt(
dynamic json) → int? -
removeNullEntries(
Map< String, dynamic> input) → Map<String, dynamic> -
toDataStatic(
Map< String, dynamic> json) → Map<String, String> -
toValueStringStatic(
Map< String, dynamic> json) → String - Returns all values as a String separated by a hyphen value1 - value2 - value3