CafResponse class

Constructors

CafResponse({required bool cancelled, required CafErrorResponse? error, required bool loading, required CafSuccessResponse? success, required CafFailureResponse? failure, required CafLog? log})
const

Properties

cancelled bool
True when the user has cancelled the operation.
final
error CafErrorResponse?
Error message when an unexpected error occurs; null otherwise.
final
failure CafFailureResponse?
Populated on failure; null otherwise.
final
hashCode int
The hash code for this object.
no setterinherited
loading bool
True while SDK operations are in progress.
final
log CafLog?
Populated when logging messages; null otherwise.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success CafSuccessResponse?
Populated on success; null otherwise.
final

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