ListResourcesResult class

Result data for a successful resources/list request.

Implemented types

Constructors

ListResourcesResult.new({required List<Resource> resources, Cursor? nextCursor, Map<String, dynamic>? meta})
Creates a list resources result.
const
ListResourcesResult.fromJson(Map<String, dynamic> json)
Creates from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
meta Map<String, dynamic>?
Optional metadata.
final
nextCursor Cursor?
Opaque token for pagination, indicating more results might be available.
final
resources List<Resource>
The list of resources found.
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 (excluding meta).
override
toString() String
A string representation of this object.
inherited

Operators

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