copyWith method

A copy with the given properties replaced; everything else, unknown keys included, is kept.

Implementation

ClientCapabilitiesTasksRequestsElicitation copyWith({
  Map<String, Object?>? create,
}) =>
    ClientCapabilitiesTasksRequestsElicitation.fromJson({
      ...toJson(),
      if (create != null) 'create': $encode(create),
    });