reflectionFactory function

ReflectionBuilder reflectionFactory([
  1. BuilderOptions options = BuilderOptions.empty
])

Implementation

ReflectionBuilder reflectionFactory(
    [BuilderOptions options = BuilderOptions.empty]) {
  var verbose = options.getAsBool(['verbose']);
  var sequential =
      options.getAsBool(['sequential', 'sequencial', 'serial'], true);
  var buildStepTimeout = options.getAsDuration(
      ['buildStepTimeout', 'build_step_timeout', 'timeout'],
      Duration(seconds: 30));

  var reflectionFactory = ReflectionBuilder(
      verbose: verbose,
      sequential: sequential,
      buildStepTimeout: buildStepTimeout);

  log.info('Builder:\n\n${reflectionFactory.toString(indent: '  ')}');

  return reflectionFactory;
}