beforeExecute<R, T> method

  1. @mustCallSuper
dynamic beforeExecute<R, T>(
  1. StrategyBuilder<R, T> builder
)

Implementation

@mustCallSuper
beforeExecute<R, T>(StrategyBuilder<R, T> builder) {
  if (!builder.hasInitializeAsyncBloc) {
    throw const RestException("asyncBloc must be initialized", 10);
  }
  if (!builder.hasInitializeSerializerBloc) {
    throw const RestException("serializerBloc must be initialized", 10);
  }
}