PeamanReaction class

Constructors

PeamanReaction({String? id, String? feedId, String? ownerId, PeamanReactionParent parent = PeamanReactionParent.feed, String? parentId, String? parentOwnerId, bool unreacted = false, int? createdAt, int? updatedAt, bool visibility = true, Map<String, dynamic> extraData = const {}})

Properties

createdAt int?
final
extraData Map<String, dynamic>
final
feedId String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
ownerId String?
final
parent PeamanReactionParent
final
parentId String?
final
parentOwnerId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unreacted bool
final
updatedAt int?
final
visibility bool
final

Methods

copyWith({String? id, String? feedId, String? ownerId, PeamanReactionParent? parent, String? parentId, String? parentOwnerId, bool? unreacted, int? createdAt, int? updatedAt, bool? visibility, Map<String, dynamic>? extraData}) PeamanReaction
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) PeamanReaction