PostEntity class

Constructors

PostEntity({required String? authorId, Object? timestamp, required String? appId, String? feedId, String? postAppId, String? postPageId, Map<String, dynamic>? pageParameters, String? html, String? description, int? likes, int? dislikes, int? accessibleByGroup, List<String>? accessibleByMembers, List<String>? readAccess, int? archived, String? externalLink, List<MemberMediumContainerEntity>? memberMedia})

Properties

accessibleByGroup int?
final
accessibleByMembers List<String>?
final
appId String?
final
archived int?
final
authorId String?
final
description String?
final
dislikes int?
final
final
feedId String?
final
hashCode int
The hash code for this object.
no setterinherited
html String?
final
likes int?
final
memberMedia List<MemberMediumContainerEntity>?
final
pageParameters Map<String, dynamic>?
final
postAppId String?
final
postPageId String?
final
props List<Object?>
no setter
readAccess List<String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp Object?
final

Methods

copyWith({String? documentID, String? authorId, Object? timestamp, String? appId, String? feedId, String? postAppId, String? postPageId, Map<String, dynamic>? pageParameters, String? html, String? description, int? likes, int? dislikes, int? accessibleByGroup, List<String>? accessibleByMembers, List<String>? readAccess, int? archived, String? externalLink, List<MemberMediumContainerEntity>? memberMedia}) PostEntity
enrichedDocument(Map<String, Object?> theDocument) Future<Map<String, Object?>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
switchAppId({required String newAppId}) PostEntity
override
toDocument() Map<String, Object?>
override
toJsonString() String
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJsonString(String json, {Map<String, String>? newDocumentIds}) PostEntity?
fromMap(Object? o, {Map<String, String>? newDocumentIds}) PostEntity?