copyWith method
A copy with the given properties replaced; everything else, unknown keys included, is kept.
Implementation
CompleteResultCompletion copyWith({
bool? hasMore,
int? total,
List<String>? values,
}) =>
CompleteResultCompletion.fromJson({
...toJson(),
if (hasMore != null) 'hasMore': $encode(hasMore),
if (total != null) 'total': $encode(total),
if (values != null) 'values': $encode(values),
});