HandlerMap constructor

HandlerMap({
  1. Iterable<HandlerDefinition>? handlers,
})

Implementation

factory HandlerMap({
  $core.Iterable<HandlerDefinition>? handlers,
}) {
  final $result = create();
  if (handlers != null) {
    $result.handlers.addAll(handlers);
  }
  return $result;
}