PeamanFeed constructor
PeamanFeed({
- String? id,
- String? ownerId,
- PeamanFeedType type = PeamanFeedType.text,
- List<
PeamanFileUrl> files = const <PeamanFileUrl>[], - int reactionsCount = 0,
- int commentsCount = 0,
- int repliesCount = 0,
- int savesCount = 0,
- int viewsCount = 0,
- bool featured = false,
- List<
String> searchKeys = const [], - int? createdAt,
- int? updatedAt,
- bool visibility = true,
- Map<
String, dynamic> extraData = const <String, dynamic>{},
Implementation
PeamanFeed({
this.id,
this.ownerId,
this.type = PeamanFeedType.text,
this.caption,
this.files = const <PeamanFileUrl>[],
this.reactionsCount = 0,
this.commentsCount = 0,
this.repliesCount = 0,
this.savesCount = 0,
this.sharesCount = 0,
this.viewsCount = 0,
this.featured = false,
this.searchKeys = const [],
this.createdAt,
this.updatedAt,
this.visibility = true,
this.extraData = const <String, dynamic>{},
});