BuildContext constructor
BuildContext({
- ObjectMapper? objectMapper,
- ValidationService? validationService,
- ExceptionHandler? exceptionHandler,
- DependencyInjection? dependencyInjection,
Implementation
BuildContext({
ObjectMapper? objectMapper,
ValidationService? validationService,
ExceptionHandler? exceptionHandler,
DependencyInjection? dependencyInjection,
}) : timestamp = DateTime.now(),
objectMapper = objectMapper ?? ObjectMapperImpl(),
validationService = validationService ?? ValidationServiceImpl(),
exceptionHandler = exceptionHandler ?? SimpleExceptionHandler(),
dependencyInjection =
dependencyInjection ?? DependencyInjection.build();