copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
UpdateNewCustomQuery copyWith({
int? id,
String? data,
int? timeout,
dynamic extra,
int? clientId,
}) =>
UpdateNewCustomQuery(
id: id ?? this.id,
data: data ?? this.data,
timeout: timeout ?? this.timeout,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);