Intent_Parameter constructor

Intent_Parameter({
  1. String? name,
  2. String? displayName,
  3. String? value,
  4. String? defaultValue,
  5. String? entityTypeDisplayName,
  6. bool? mandatory,
  7. Iterable<String>? prompts,
  8. bool? isList,
})

Implementation

factory Intent_Parameter({
  $core.String? name,
  $core.String? displayName,
  $core.String? value,
  $core.String? defaultValue,
  $core.String? entityTypeDisplayName,
  $core.bool? mandatory,
  $core.Iterable<$core.String>? prompts,
  $core.bool? isList,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (displayName != null) {
    _result.displayName = displayName;
  }
  if (value != null) {
    _result.value = value;
  }
  if (defaultValue != null) {
    _result.defaultValue = defaultValue;
  }
  if (entityTypeDisplayName != null) {
    _result.entityTypeDisplayName = entityTypeDisplayName;
  }
  if (mandatory != null) {
    _result.mandatory = mandatory;
  }
  if (prompts != null) {
    _result.prompts.addAll(prompts);
  }
  if (isList != null) {
    _result.isList = isList;
  }
  return _result;
}