copyWith method

UpdateUiModificationDetails copyWith({
  1. List<UiModificationContextDetails>? contexts,
  2. String? data,
  3. String? description,
  4. String? name,
})

Implementation

UpdateUiModificationDetails copyWith(
    {List<UiModificationContextDetails>? contexts,
    String? data,
    String? description,
    String? name}) {
  return UpdateUiModificationDetails(
    contexts: contexts ?? this.contexts,
    data: data ?? this.data,
    description: description ?? this.description,
    name: name ?? this.name,
  );
}