RequestTypeFieldDTO constructor

RequestTypeFieldDTO({
  1. List<RequestTypeFieldValueDTO>? defaultValues,
  2. String? description,
  3. String? fieldId,
  4. JsonTypeBean? jiraSchema,
  5. String? name,
  6. List<String>? presetValues,
  7. bool? required,
  8. List<RequestTypeFieldValueDTO>? validValues,
  9. bool? visible,
})

Implementation

RequestTypeFieldDTO(
    {List<RequestTypeFieldValueDTO>? defaultValues,
    this.description,
    this.fieldId,
    this.jiraSchema,
    this.name,
    List<String>? presetValues,
    bool? required,
    List<RequestTypeFieldValueDTO>? validValues,
    bool? visible})
    : defaultValues = defaultValues ?? [],
      presetValues = presetValues ?? [],
      required = required ?? false,
      validValues = validValues ?? [],
      visible = visible ?? false;