DataResponse<T, U extends AbsResponse<T>> class

Inheritance

Constructors

DataResponse()

Properties

data ↔ dynamic
getter/setter pairinherited
dataBaseAdapter ↔ DatabaseAdapter<T>?
getter/setter pairinherited
element ↔ T?
getter/setter pairinherited
elements List<T>?
getter/setter pairinherited
hasData bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
getter/setter pairinherited
notifyDataSetChanged Function?
getter/setter pairinherited
page int?
getter/setter pairinherited
pagingAdapter ↔ PagingAdapter<T>?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status?
no setterinherited
statusCode int?
getter/setter pairinherited
tableManager ↔ TableManager?
getter/setter pair
timeStamp String?
getter/setter pairinherited

Methods

fetch({required Future<Response<Map<String, dynamic>>>? remote, required T fromJson(dynamic json), required String nameRequest, DatabaseExecutor? database, String? nameTable, DataType? dataType, InsertionAdapter? insertionAdapter(String tableName)?, TableManager? tableManager}) Future<U>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseRemoteData({dynamic response}) → void
print() → dynamic
read({required Future local, required String nameRequest, required String? nameTable}) Future<U>
shouldReadLocalData(List<Map<String, Object?>> result) bool
shouldWriteLocalData() bool
toString() String
A string representation of this object.
inherited

Operators

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