UpdateRecognizerRequest constructor

UpdateRecognizerRequest({
  1. Recognizer? recognizer,
  2. FieldMask? updateMask,
  3. bool? validateOnly,
})

Implementation

factory UpdateRecognizerRequest({
  Recognizer? recognizer,
  $4.FieldMask? updateMask,
  $core.bool? validateOnly,
}) {
  final $result = create();
  if (recognizer != null) {
    $result.recognizer = recognizer;
  }
  if (updateMask != null) {
    $result.updateMask = updateMask;
  }
  if (validateOnly != null) {
    $result.validateOnly = validateOnly;
  }
  return $result;
}