Agent constructor

Agent({
  1. String? name,
  2. String? displayName,
  3. String? defaultLanguageCode,
  4. String? timeZone,
  5. String? description,
  6. String? avatarUri,
  7. SpeechToTextSettings? speechToTextSettings,
  8. String? startFlow,
  9. String? securitySettings,
  10. bool? enableStackdriverLogging,
  11. bool? enableSpellCorrection,
})

Implementation

factory Agent({
  $core.String? name,
  $core.String? displayName,
  $core.String? defaultLanguageCode,
  $core.String? timeZone,
  $core.String? description,
  $core.String? avatarUri,
  SpeechToTextSettings? speechToTextSettings,
  $core.String? startFlow,
  $core.String? securitySettings,
  $core.bool? enableStackdriverLogging,
  $core.bool? enableSpellCorrection,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (displayName != null) {
    _result.displayName = displayName;
  }
  if (defaultLanguageCode != null) {
    _result.defaultLanguageCode = defaultLanguageCode;
  }
  if (timeZone != null) {
    _result.timeZone = timeZone;
  }
  if (description != null) {
    _result.description = description;
  }
  if (avatarUri != null) {
    _result.avatarUri = avatarUri;
  }
  if (speechToTextSettings != null) {
    _result.speechToTextSettings = speechToTextSettings;
  }
  if (startFlow != null) {
    _result.startFlow = startFlow;
  }
  if (securitySettings != null) {
    _result.securitySettings = securitySettings;
  }
  if (enableStackdriverLogging != null) {
    _result.enableStackdriverLogging = enableStackdriverLogging;
  }
  if (enableSpellCorrection != null) {
    _result.enableSpellCorrection = enableSpellCorrection;
  }
  return _result;
}