PaginatedReactions<A, Ob, T, Or> class

Paginated Reaction

Annotations
  • @JsonSerializable(createToJson: true, genericArgumentFactories: true)

Constructors

PaginatedReactions({String? next, List<Reaction>? results, GenericEnrichedActivity<A, Ob, T, Or>? activity, String? duration})
Builds a PaginatedReactions.
const
PaginatedReactions.fromJson(Map<String, dynamic> json, [A fromJsonA(Object? json)?, Ob fromJsonOb(Object? json)?, T fromJsonT(Object? json)?, Or fromJsonOr(Object? json)?])
Deserialize json to PaginatedReactions
factory

Properties

activity GenericEnrichedActivity<A, Ob, T, Or>?
The activity data.
final
duration String?
A duration of the response.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
next String?
A url string that can be used to fetch the next page of reactions.
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
results List<Reaction>?
Response results of generic objects.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(Object? toJsonA(A value), Object? toJsonOb(Ob value), Object? toJsonT(T value), Object? toJsonOr(Or value)) Map<String, dynamic>
Serialize to json
toString() String
A string representation of this object.
inherited

Operators

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