WordpressSuccessResponse<T> class final

Represents a successful response.

Inheritance
Available Extensions
Annotations
  • @immutable

Constructors

WordpressSuccessResponse({required Map<String, dynamic> headers, required Duration duration, required T data, required dynamic rawData, required Map<String, dynamic> requestHeaders, int code = 200, Map<String, dynamic>? extra, String? message})
const

Properties

code int
finalinherited
data → T
final
duration Duration
finalinherited
extra Map<String, dynamic>?
finalinherited
hashCode int
The hash code for this object.
no setteroverride
headers Map<String, dynamic>
finalinherited
message String?
finalinherited
requestHeaders Map<String, dynamic>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalCount int
no setter
totalPagesCount int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant WordpressSuccessResponse<T> other) bool
The equality operator.
override
operator [](dynamic key) → dynamic
inherited