User class

Inheritance

Constructors

User({String? comment, required String userId, required String password, String? cookie})
const
User.fromJson(Map<String, dynamic> json)
factory

Properties

comment String?
final
final
hashCode int
The hash code for this object.
no setterinherited
password String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
final

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

Static Methods

getUserWikiDiscussionPage(String userId) String
Link to add a discussion topic on the OpenFoodFacts wiki page of a user.
getUserWikiPage(String userId) String
getUserWikiTag(String userId) String