TrendingEntry class

The list entry view for trending items. Returns just enough to show the item on the trending page.

Constructors

TrendingEntry()

Properties

creationDate ↔ String
If the entry has a date at which it was created, this is that date.
read / write
displayName ↔ String
The localized "display name/article title/'primary localized identifier'" of the entity.
read / write
endDate ↔ String
read / write
entityType ↔ int
An enum - unfortunately - dictating all of the possible kinds of trending items that you might get in your result set, in case you want to do custom rendering or call to get the details of the item.
read / write
featureImage ↔ String
If isFeatured, this image will be populated with whatever the featured image is. Note that this will likely be a very large image, so don't use it all the time.
read / write
identifier ↔ String
We don't know whether the identifier will be a string, a uint, or a long... so we're going to cast it all to a string. But either way, we need any trending item created to have a single unique identifier for its type.
read / write
image ↔ String
read / write
isFeatured ↔ bool
read / write
items ↔ List<TrendingEntry>
If the item is of entityType TrendingEntryType.Container, it may have items - also Trending Entries - contained within it. This is the ordered list of those to display under the Container's header.
read / write
read / write
mp4Video ↔ String
If this is populated, the entry has a related MP4 video to show. I am 100% certain I am going to regret putting this directly on TrendingEntry, but it will work so yolo
read / write
startDate ↔ String
read / write
tagline ↔ String
If the entity has a localized tagline/subtitle/motto/whatever, that is found here.
read / write
webmVideo ↔ String
If this is populated, the entry has a related WebM video to show. I am 100% certain I am going to regret putting this directly on TrendingEntry, but it will work so yolo
read / write
weight ↔ double
The weighted score of this trending item.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited