SyncApiParams<R, P> constructor
const
SyncApiParams<R, P> ({
- required P data,
- required void onAsync(
- Either<
BaseException, R> result
- Either<
- void onSync(
- Either<
BaseException, R> result
- Either<
- SyncApiRequestScope? scope,
Implementation
const SyncApiParams({
required this.data,
required this.onAsync,
this.onSync,
SyncApiRequestScope? scope,
}) : _scope = scope;