CollectionListResponse class

Represents a response object for listing collections.

This class extends the Response class and includes additional properties and methods specifically related to collection list responses.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

CollectionListResponse({required int code, String? message, List<String>? data})
Creates a new instance of CollectionListResponse.
CollectionListResponse.fromJson(Map<String, dynamic> json)
Creates a new CollectionListResponse instance from a JSON map.
factory

Properties

code int
The status code of the response.
finalinherited
data List<String>?
A list of collection names.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
An optional descriptive message accompanying the response.
finalinherited
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 this CollectionListResponse instance to a JSON map.
toString() String
A string representation of this object.
override

Operators

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