GeneralCallback<T> constructor
GeneralCallback<T> ({
- required dynamic onFailure(),
- required dynamic onError(
- GeneralResponse response
- required dynamic onSuccess(
- T data
Implementation
GeneralCallback({
required this.onFailure,
required this.onError,
required this.onSuccess,
});