AgentValidationResult constructor

AgentValidationResult({
  1. String? name,
  2. Iterable<FlowValidationResult>? flowValidationResults,
})

Implementation

factory AgentValidationResult({
  $core.String? name,
  $core.Iterable<$3.FlowValidationResult>? flowValidationResults,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (flowValidationResults != null) {
    _result.flowValidationResults.addAll(flowValidationResults);
  }
  return _result;
}