ListFeatureRequestsResult class

Paginated list response for feature requests.

Returned by GET /api/v1/feature-requests.

Example

final result = await client.fetchFeatureRequests(userToken: token);
print('Showing ${result.requests.length} of ${result.total} requests.');

Constructors

ListFeatureRequestsResult({required List<FeatureRequestItem> requests, required int total})
Creates a ListFeatureRequestsResult page container.
const
ListFeatureRequestsResult.fromJson(Map<String, dynamic> json)
Deserializes ListFeatureRequestsResult from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
requests List<FeatureRequestItem>
List of feature request items returned for the current page.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
Total count of matching feature requests across all pages.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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