EventsAPIClient class
Client calls of the Events API (Open Food Facts).
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getBadges(
{String? userId, String? deviceId, UriHelper uriHelper = uriHelperEventsProd}) → Future< List< BadgeBase> > - Returns all the BadgeBase, with optional filters.
-
getEvents(
{String? userId, String? deviceId, int? skip, int? limit, UriHelper uriHelper = uriHelperEventsProd}) → Future< List< EventsBase> > - Returns all the EventsBase, with optional filters and paging.
-
getEventsCount(
{String? userId, String? deviceId, UriHelper uriHelper = uriHelperEventsProd}) → Future< Map< String, int> > - Returns all the events counts, with optional filters.
-
getLeaderboard(
{String? eventType, UriHelper uriHelper = uriHelperEventsProd}) → Future< List< LeaderboardEntry> > - Returns all the LeaderboardEntry, with optional filters.
-
getScores(
{String? userId, String? deviceId, String? eventType, UriHelper uriHelper = uriHelperEventsProd}) → Future< int> - Returns the score, with optional filters.