InputItemList class

A list of input items with pagination.

Annotations
  • @immutable

Constructors

InputItemList({required List<Item> data, required String object, required bool hasMore, String? firstId, String? lastId})
Creates an InputItemList.
const
InputItemList.fromJson(Map<String, dynamic> json)
Creates an InputItemList from JSON.
factory

Properties

data List<Item>
The list of input items.
final
firstId String?
The ID of the first item in the list.
final
hashCode int
The hash code for this object.
no setterinherited
hasMore bool
Whether there are more items to fetch.
final
lastId String?
The ID of the last item in the list.
final
object String
The object type, always 'list'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

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