ContentItemPublicContract class
- Annotations
-
- @JsonSerializable()
Constructors
- ContentItemPublicContract()
-
ContentItemPublicContract.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allowComments ↔ bool?
-
getter/setter pair
-
getter/setter pair
- autoEnglishPropertyFallback ↔ bool?
-
getter/setter pair
- cmsPath ↔ String?
-
getter/setter pair
- commentSummary ↔ CommentSummary?
-
getter/setter pair
- contentId ↔ String?
-
getter/setter pair
- creationDate ↔ String?
-
getter/setter pair
- cType ↔ String?
-
getter/setter pair
- hasAgeGate ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- minimumAge ↔ int?
-
getter/setter pair
- modifyDate ↔ String?
-
getter/setter pair
-
properties
↔ Map<
String, Map< ?String, String> > -
Firehose content is really a collection of metadata and "properties", which are the potentially-but-not-strictly localizable data that comprises the meat of whatever content is being shown.
As Cole Porter would have crooned, "Anything Goes" with Firehose properties. They are most often strings, but they can theoretically be anything. They are JSON encoded, and could be JSON structures, simple strings, numbers etc... The Content Type of the item (cType) will describe the properties, and thus how they ought to be deserialized.
getter/setter pair
- ratingImagePath ↔ String?
-
getter/setter pair
-
representations
↔ List<
ContentRepresentation> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
NOTE: Tags will always be lower case.
getter/setter pair
Methods
-
asyncToJson(
) → Future< Map< String, dynamic> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
asyncFromJson(
Map< String, dynamic> json) → Future<ContentItemPublicContract>