Session class
Price session.
cf. SessionBase in https://prices.openfoodfacts.org/api/docs
- Inheritance
-
- Object
- JsonObject
- Session
Constructors
- Session()
-
Session.fromJson(Map<
String, dynamic> json) -
factory
Properties
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
Constants
- invalidActionWithAuthMessage → const String
- Error message when we try an edit operation with a wrong authentication.
- invalidActionWithAuthStatusCode → const int
- Status Code when we try an edit operation with a wrong authentication.
- invalidAuthMessage → const String
- Error message when the authentication fails.
- invalidAuthStatusCode → const int
- Status Code when the authentication fails.