ReactionGroupResponse class
- Available extensions
- Annotations
-
- @freezed
- @immutable
- @JsonSerializable.new()
Constructors
- ReactionGroupResponse({required int count, required DateTime firstReactionAt, required DateTime lastReactionAt})
-
const
Properties
-
copyWith
→ $ReactionGroupResponseCopyWith<
ReactionGroupResponse> -
Create a copy of ReactionGroupResponse
with the given fields replaced by the non-null parameter values.
no setterinherited
- count → int
-
final
- firstReactionAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastReactionAt → DateTime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toModel(
) → ReactionGroupData -
Available on ReactionGroupResponse, provided by the ReactionGroupResponseMapper extension
Converts this API reaction group response to a domain ReactionGroupData instance. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ReactionGroupResponse