CollectionCreateResponse class

Represents a response object for a collection creation request.

This class extends the Response class and adds additional properties and methods specifically related to collection creation responses.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

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

Properties

code int
The status code of the response.
finalinherited
data Map?
A Map containing the data associated with the collection creation response.
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 CollectionCreateResponse instance to a JSON map.
toString() String
A string representation of this object.
override

Operators

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