copyWith method

FieldReferenceData copyWith({
  1. FieldReferenceDataAuto? auto,
  2. String? cfid,
  3. FieldReferenceDataDeprecated? deprecated,
  4. String? deprecatedSearcherKey,
  5. String? displayName,
  6. List<String>? operators,
  7. FieldReferenceDataOrderable? orderable,
  8. FieldReferenceDataSearchable? searchable,
  9. List<String>? types,
  10. String? value,
})

Implementation

FieldReferenceData copyWith(
    {FieldReferenceDataAuto? auto,
    String? cfid,
    FieldReferenceDataDeprecated? deprecated,
    String? deprecatedSearcherKey,
    String? displayName,
    List<String>? operators,
    FieldReferenceDataOrderable? orderable,
    FieldReferenceDataSearchable? searchable,
    List<String>? types,
    String? value}) {
  return FieldReferenceData(
    auto: auto ?? this.auto,
    cfid: cfid ?? this.cfid,
    deprecated: deprecated ?? this.deprecated,
    deprecatedSearcherKey:
        deprecatedSearcherKey ?? this.deprecatedSearcherKey,
    displayName: displayName ?? this.displayName,
    operators: operators ?? this.operators,
    orderable: orderable ?? this.orderable,
    searchable: searchable ?? this.searchable,
    types: types ?? this.types,
    value: value ?? this.value,
  );
}