copyWith method

ElicitationCompleteNotificationParams copyWith({
  1. String? elicitationId,
})

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

Implementation

ElicitationCompleteNotificationParams copyWith({
  String? elicitationId,
}) =>
    ElicitationCompleteNotificationParams.fromJson({
      ...toJson(),
      if (elicitationId != null) 'elicitationId': $encode(elicitationId),
    });