ActivityPagination class

Constructors

ActivityPagination({String? duration, String? next, int? unseen, int? unread, List<Activity>? results = const []})
Returns a new ActivityPagination instance.

Properties

duration String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
next String?
getter/setter pair
results List<Activity>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unread int?
getter/setter pair
unseen int?
getter/setter pair

Methods

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.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json) ActivityPagination?
Returns a new ActivityPagination instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<ActivityPagination>
mapFromJson(Map<String, dynamic>? json) Map<String, ActivityPagination>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<ActivityPagination>>