TimelinePostReaction class

Annotations

Constructors

TimelinePostReaction({required String id, required String postId, required String creatorId, required DateTime createdAt, String? reaction, String? imageUrl, TimelinePosterUserModel? creator, String? createdAtString})
const
TimelinePostReaction.fromJson(String id, String postId, Map<String, dynamic> json)
factory

Properties

createdAt → DateTime
Reaction creation date.
final
createdAtString → String?
Reaction creation date as String with microseconds.
final
creator → TimelinePosterUserModel?
The creator of the post. If null it isn't loaded yet.
final
creatorId → String
The unique identifier of the creator of the reaction.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique identifier of the reaction.
final
imageUrl → String?
The url of the image if the creator sent one
final
postId → String
The unique identifier of the post on which the reaction is.
final
reaction → String?
The reaction text if the creator sent one
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? id, String? postId, String? creatorId, TimelinePosterUserModel? creator, String? reaction, String? imageUrl, DateTime? createdAt}) → TimelinePostReaction
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toJsonWithMicroseconds() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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