PeamanFeed class

Constructors

PeamanFeed({String? id, String? ownerId, PeamanFeedType type = PeamanFeedType.text, String? caption, List<PeamanFileUrl> files = const <PeamanFileUrl>[], int reactionsCount = 0, int commentsCount = 0, int repliesCount = 0, int savesCount = 0, int sharesCount = 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>{}})

Properties

caption String?
final
commentsCount int
final
createdAt int?
final
extraData Map<String, dynamic>
final
final
files List<PeamanFileUrl>
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
ownerId String?
final
reactionsCount int
final
repliesCount int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savesCount int
final
searchKeys List<String>
final
sharesCount int
final
type PeamanFeedType
final
updatedAt int?
final
viewsCount int
final
visibility bool
final

Methods

copyWith({String? id, String? ownerId, PeamanFeedType? type, String? caption, List<PeamanFileUrl>? files, int? reactionsCount, int? commentsCount, int? repliesCount, int? savesCount, int? sharesCount, int? viewsCount, bool? featured, List<String>? searchKeys, int? createdAt, int? updatedAt, bool? visibility, Map<String, dynamic>? extraData}) PeamanFeed
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

fromJson(Map<String, dynamic> data) PeamanFeed