NewsObj class

Constructors

NewsObj({String? oldHashId, String? hashId, String? authorName, String? content, String? sourceUrl, String? sourceName, String? title, bool? important, String? imageUrl, String? shortenedUrl, int? createdAt, int? score, List<String>? categoryNames, List<String>? relevancyTags, String? tenant, String? fbObjectId, int? fbLikeCount, String? countryCode, List<String>? targetedCity, String? bottomHeadline, String? bottomText, bool? darkerFonts, String? bottomPanelLink, String? bottomType, int? version, bool? dontShowAd, String? pollTenant, bool? videoOpinionEnabled, String? language, bool? showInshortsBrandName, bool? imageForRepresentation})
NewsObj.fromJson(Map<String, dynamic> json)

Properties

authorName String?
getter/setter pair
bottomHeadline String?
getter/setter pair
getter/setter pair
bottomText String?
getter/setter pair
bottomType String?
getter/setter pair
categoryNames List<String>?
getter/setter pair
content String?
getter/setter pair
countryCode String?
getter/setter pair
createdAt int?
getter/setter pair
darkerFonts bool?
getter/setter pair
dontShowAd bool?
getter/setter pair
fbLikeCount int?
getter/setter pair
fbObjectId String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hashId String?
getter/setter pair
imageForRepresentation bool?
getter/setter pair
imageUrl String?
getter/setter pair
important bool?
getter/setter pair
language String?
getter/setter pair
oldHashId String?
getter/setter pair
pollTenant String?
getter/setter pair
relevancyTags List<String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int?
getter/setter pair
shortenedUrl String?
getter/setter pair
showInshortsBrandName bool?
getter/setter pair
sourceName String?
getter/setter pair
sourceUrl String?
getter/setter pair
targetedCity List<String>?
getter/setter pair
tenant String?
getter/setter pair
title String?
getter/setter pair
version int?
getter/setter pair
videoOpinionEnabled bool?
getter/setter pair

Methods

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