Intent_TrainingPhrase constructor
Intent_TrainingPhrase({
- String? name,
- Intent_TrainingPhrase_Type? type,
- Iterable<
Intent_TrainingPhrase_Part> ? parts, - int? timesAddedCount,
Implementation
factory Intent_TrainingPhrase({
$core.String? name,
Intent_TrainingPhrase_Type? type,
$core.Iterable<Intent_TrainingPhrase_Part>? parts,
$core.int? timesAddedCount,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (type != null) {
_result.type = type;
}
if (parts != null) {
_result.parts.addAll(parts);
}
if (timesAddedCount != null) {
_result.timesAddedCount = timesAddedCount;
}
return _result;
}