NamedAPIResourceList constructor

const NamedAPIResourceList(
  1. int count,
  2. String? next,
  3. String? previous,
  4. List<NamedAPIResource> results,
)

Implementation

const factory NamedAPIResourceList(
  /// The total number of resources available from this API.
  int count,

  /// The URL for the next page in the list.
  String? next,

  /// The URL for the previous page in the list.
  String? previous,

  /// A list of named API resources.
  List<NamedAPIResource> results,
) = _NamedAPIResourceList;