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