copyWith method

JQLReferenceData copyWith({
  1. List<String>? jqlReservedWords,
  2. List<FieldReferenceData>? visibleFieldNames,
  3. List<FunctionReferenceData>? visibleFunctionNames,
})

Implementation

JQLReferenceData copyWith(
    {List<String>? jqlReservedWords,
    List<FieldReferenceData>? visibleFieldNames,
    List<FunctionReferenceData>? visibleFunctionNames}) {
  return JQLReferenceData(
    jqlReservedWords: jqlReservedWords ?? this.jqlReservedWords,
    visibleFieldNames: visibleFieldNames ?? this.visibleFieldNames,
    visibleFunctionNames: visibleFunctionNames ?? this.visibleFunctionNames,
  );
}