copyWith method

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

Implementation

URLElicitationRequiredErrorErrorData copyWith({
  List<ElicitRequestURLParams>? elicitations,
}) =>
    URLElicitationRequiredErrorErrorData.fromJson({
      ...toJson(),
      if (elicitations != null) 'elicitations': $encode(elicitations),
    });