ViewResponse class

Constructors

ViewResponse.new({bool status = false, String message = '', String errorMessage = '', dynamic data, dynamic statusCode = '', dynamic apiStatusCode, dynamic pagination = '', Response? rawResponse})
ViewResponse.fromJson(Map<String, dynamic> json, {Response? response})

Properties

apiStatusCode ↔ dynamic
getter/setter pair
data ↔ dynamic
getter/setter pair
errorCode ↔ dynamic
getter/setter pair
errorMessage String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
getter/setter pair
pagination ↔ dynamic
getter/setter pair
rawResponse ↔ Response?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status bool
getter/setter pair
statusCode ↔ dynamic
getter/setter pair

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 ==(Object other) bool
The equality operator.
inherited