TaxonomyLanguage class
A JSON-serializable version of a Language taxonomy result.
See OpenFoodAPIClient.getTaxonomy for more details on how to retrieve one of these.
- Inheritance
-
- Object
- JsonObject
- TaxonomyLanguage
Constructors
-
TaxonomyLanguage(Map<
OpenFoodFactsLanguage, String> ? languageCode2, Map<OpenFoodFactsLanguage, String> ? languageCode3, Map<OpenFoodFactsLanguage, String> ? name, Map<OpenFoodFactsLanguage, String> ? wikidata) -
TaxonomyLanguage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
languageCode2
↔ Map<
OpenFoodFactsLanguage, String> ? -
getter/setter pair
-
languageCode3
↔ Map<
OpenFoodFactsLanguage, String> ? -
getter/setter pair
-
name
↔ Map<
OpenFoodFactsLanguage, String> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
wikidata
↔ Map<
OpenFoodFactsLanguage, String> ? -
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toData(
) → Map< String, String> -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
-
toValueString(
) → String -
Returns all values as a String separated by a hyphen
value1 - value2 - value3
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited