copyWith method

SanitizedJqlQuery copyWith({
  1. String? accountId,
  2. ErrorCollection? errors,
  3. String? initialQuery,
  4. String? sanitizedQuery,
})

Implementation

SanitizedJqlQuery copyWith(
    {String? accountId,
    ErrorCollection? errors,
    String? initialQuery,
    String? sanitizedQuery}) {
  return SanitizedJqlQuery(
    accountId: accountId ?? this.accountId,
    errors: errors ?? this.errors,
    initialQuery: initialQuery ?? this.initialQuery,
    sanitizedQuery: sanitizedQuery ?? this.sanitizedQuery,
  );
}