Challenge class

Challenge object in the Prices API.

cf. Challenge in https://prices.openfoodfacts.org/api/docs

Inheritance

Constructors

Challenge()
Challenge.fromJson(Map<String, dynamic> json)
factory

Properties

categories ↔ List<String>?
getter/setter pair
created ↔ DateTime?
getter/setter pair
endDate ↔ DateTime?
getter/setter pair
exampleProofUrl ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
icon ↔ String?
getter/setter pair
id ↔ int?
getter/setter pair
isPublished ↔ bool?
getter/setter pair
locations ↔ List<Location>?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startDate ↔ DateTime?
getter/setter pair
stats ↔ dynamic
getter/setter pair
status ↔ String?
getter/setter pair
subtitle ↔ String?
getter/setter pair
tag ↔ String?
getter/setter pair
title ↔ String?
getter/setter pair
updated ↔ DateTime?
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.
inherited
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