CloudFunctionsState constructor
CloudFunctionsState({
- CloudFunctionsInitial? initial,
- CloudFunctionsLoading? loading,
- ExportSuccess? exportSuccess,
- ExportListSuccess? exportListSuccess,
- ExportDeleteSuccess? exportDeleteSuccess,
- ExportDetailsSuccess? exportDetailsSuccess,
- CloudFunctionsFailure? failure,
Implementation
factory CloudFunctionsState({
CloudFunctionsInitial? initial,
CloudFunctionsLoading? loading,
ExportSuccess? exportSuccess,
ExportListSuccess? exportListSuccess,
ExportDeleteSuccess? exportDeleteSuccess,
ExportDetailsSuccess? exportDetailsSuccess,
CloudFunctionsFailure? failure,
}) {
final result = create();
if (initial != null) result.initial = initial;
if (loading != null) result.loading = loading;
if (exportSuccess != null) result.exportSuccess = exportSuccess;
if (exportListSuccess != null) result.exportListSuccess = exportListSuccess;
if (exportDeleteSuccess != null)
result.exportDeleteSuccess = exportDeleteSuccess;
if (exportDetailsSuccess != null)
result.exportDetailsSuccess = exportDetailsSuccess;
if (failure != null) result.failure = failure;
return result;
}