AddResourceRequest constructor

AddResourceRequest({
  1. ComponentConfig? config,
  2. Iterable<String>? dependencies,
})

Implementation

factory AddResourceRequest({
  $12.ComponentConfig? config,
  $core.Iterable<$core.String>? dependencies,
}) {
  final $result = create();
  if (config != null) {
    $result.config = config;
  }
  if (dependencies != null) {
    $result.dependencies.addAll(dependencies);
  }
  return $result;
}