FeedModel class

Constructors

FeedModel({required String documentID, required String appId, String? description, ThumbStyle? thumbImage, bool? photoPost, bool? videoPost, bool? messagePost, bool? audioPost, bool? albumPost, bool? articlePost})

Properties

albumPost ↔ bool?
getter/setter pair
appId ↔ String
getter/setter pairoverride
articlePost ↔ bool?
getter/setter pair
audioPost ↔ bool?
getter/setter pair
description ↔ String?
getter/setter pair
documentID ↔ String
getter/setter pairoverride
hashCode → int
The hash code for this object.
no setteroverride
messagePost ↔ bool?
getter/setter pair
photoPost ↔ bool?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thumbImage ↔ ThumbStyle?
getter/setter pair
videoPost ↔ bool?
getter/setter pair

Methods

collectReferences({String? appId}) → Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? description, ThumbStyle? thumbImage, bool? photoPost, bool? videoPost, bool? messagePost, bool? audioPost, bool? albumPost, bool? articlePost}) → FeedModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) → FeedEntity
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromEntity(String documentID, FeedEntity? entity) → Future<FeedModel?>
fromEntityPlus(String documentID, FeedEntity? entity, {String? appId}) → Future<FeedModel?>

Constants

id → const String
packageName → const String