ZResponse<T> class

Description : 接口响应体 @author zaze @date 2022/8/5 - 5:13

Constructors

ZResponse({required ZRequest request, Response<T>? response})

Properties

charset String?
getter/setter pair
data ↔ T?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
request ZRequest
getter/setter pair
response ↔ Response<T>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
getter/setter pair

Methods

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

Operators

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