CalculateCoverageResponse constructor

CalculateCoverageResponse({
  1. IntentCoverage? intentCoverage,
  2. TransitionCoverage? transitionCoverage,
  3. String? agent,
  4. TransitionRouteGroupCoverage? routeGroupCoverage,
})

Implementation

factory CalculateCoverageResponse({
  IntentCoverage? intentCoverage,
  TransitionCoverage? transitionCoverage,
  $core.String? agent,
  TransitionRouteGroupCoverage? routeGroupCoverage,
}) {
  final _result = create();
  if (intentCoverage != null) {
    _result.intentCoverage = intentCoverage;
  }
  if (transitionCoverage != null) {
    _result.transitionCoverage = transitionCoverage;
  }
  if (agent != null) {
    _result.agent = agent;
  }
  if (routeGroupCoverage != null) {
    _result.routeGroupCoverage = routeGroupCoverage;
  }
  return _result;
}