ThingParameters class

Inheritance

Constructors

ThingParameters({required List<int> id, List<ThingType> type = const [], bool versions = false, bool videos = false, bool stats = false, bool historical = false, bool marketplace = false, bool comments = false, bool ratingComments = false})

Properties

comments bool
Returns all comments about the item. Also includes ratings when commented. See page parameter.
final
hashCode int
The hash code for this object.
no setterinherited
historical bool
Returns historical data over time. See page parameter.
final
id List<int>
Specifies the id of the thing(s) to retrieve. To request multiple things with a single query, NNN can specify a comma-delimited list of ids.
final
marketplace bool
Returns marketplace data.
final
ratingComments bool
Returns all ratings for the item. Also includes comments when rated. See page parameter. The ratingcomments and comments parameters cannot be used together, as the output always appears in the
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stats bool
Returns ranking and rating stats for the item.
final
type List<ThingType>
Specifies that, regardless of the type of thing asked for by id, the results are filtered by the THINGTYPE(s) specified. Multiple THINGTYPEs can be specified in a comma-delimited list.
final
versions bool
Returns version info for the item.
final
videos bool
Returns videos for the item.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited