IntentCoverage constructor

IntentCoverage({
  1. Iterable<IntentCoverage_Intent>? intents,
  2. double? coverageScore,
})

Implementation

factory IntentCoverage({
  $core.Iterable<IntentCoverage_Intent>? intents,
  $core.double? coverageScore,
}) {
  final _result = create();
  if (intents != null) {
    _result.intents.addAll(intents);
  }
  if (coverageScore != null) {
    _result.coverageScore = coverageScore;
  }
  return _result;
}