copyWith method
A copy with the given properties replaced; everything else, unknown keys included, is kept.
Implementation
ClientCapabilitiesRoots copyWith({
bool? listChanged,
}) =>
ClientCapabilitiesRoots.fromJson({
...toJson(),
if (listChanged != null) 'listChanged': $encode(listChanged),
});