copyWith method

UiModificationDetails copyWith({
  1. List<UiModificationContextDetails>? contexts,
  2. String? data,
  3. String? description,
  4. String? id,
  5. String? name,
  6. String? self,
})

Implementation

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