CalculateCoverageResponse constructor
CalculateCoverageResponse({
- IntentCoverage? intentCoverage,
- TransitionCoverage? transitionCoverage,
- String? agent,
- 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;
}