ListEntity<T> constructor

const ListEntity<T>({
  1. required String nextUrl,
  2. required String previousUrl,
  3. required int total,
  4. required int limit,
  5. required List<T> results,
})

Implementation

const ListEntity({
  /// Next page URL.
  required this.nextUrl,

  /// Previous page URL.
  required this.previousUrl,

  /// A total number of objects of the queried type.
  /// For files, the queried type depends on the stored and removed query parameters.
  required this.total,

  /// Number of objects per page.
  required this.limit,

  /// List of paginated objects. See the documentation for specific object structure, e.g., [ApiFiles.list] or [ApiGroups.list].
  required this.results,
});