Response<T extends Object> class

Constructors

Response({int requestCode = 0, T? data, List<T>? backups, List<T>? ignores, List<T>? result, double? progress, Status? status, String? error, String? message, dynamic feedback, dynamic snapshot})

Properties

backups List<T>
no setter
beautify String
no setter
data → T?
no setter
error String
no setter
feedback ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ignores List<T>
no setter
isAvailable bool
no setter
isBackup bool
no setter
isCancel bool
no setter
isComplete bool
no setter
isError bool
no setter
isFailed bool
no setter
isIgnored bool
no setter
isInternetError bool
no setter
isLoaded bool
no setter
isLoading bool
no setter
isMessage bool
no setter
isNullable bool
no setter
isPaused bool
no setter
isStopped bool
no setter
isSuccessful bool
no setter
isTimeout bool
no setter
isValid bool
no setter
message String
no setter
progress double
no setter
requestCode int
final
result List<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot ↔ dynamic
getter/setter pair
status Status
no setter

Methods

copy({int? requestCode, T? data, List<T>? backups, List<T>? ignores, List<T>? result, double? progress, Status? status, String? exception, String? message, dynamic feedback, dynamic snapshot}) Response<T>
from(Response<T> response) Response<T>
getSnapshot<Snapshot>() → Snapshot?
modify({T? data, List<T>? backups, List<T>? ignores, List<T>? result, double? progress, Status? status, String? exception, String? message, dynamic feedback, dynamic snapshot}) Response<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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