Match constructor
Match({})
Implementation
factory Match({
$7.Intent? intent,
$16.Struct? parameters,
$core.String? resolvedInput,
Match_MatchType? matchType,
$core.double? confidence,
$core.String? event,
}) {
final _result = create();
if (intent != null) {
_result.intent = intent;
}
if (parameters != null) {
_result.parameters = parameters;
}
if (resolvedInput != null) {
_result.resolvedInput = resolvedInput;
}
if (matchType != null) {
_result.matchType = matchType;
}
if (confidence != null) {
_result.confidence = confidence;
}
if (event != null) {
_result.event = event;
}
return _result;
}