copyWith method

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

Implementation

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