IResponseModel<T, E extends INetworkModel<E>?> class abstract

This response model is used to represent the response received from the server. It contains a data field which represents the data received from the server, and an error field which represents any errors that occurred while receiving the data.

Implementers

Constructors

IResponseModel(T data, IErrorModel<E>? error)
The IResponseModel constructor is used to create a new IResponseModel

Properties

data ↔ T
data is a getter method that returns the data received from the server.
getter/setter pair
error IErrorModel<E>?
error is a getter method that returns any errors that occurred while
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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