copyWith method

ContainerSummary copyWith({
  1. String? title,
  2. String? displayUrl,
})

Implementation

ContainerSummary copyWith({String? title, String? displayUrl}) {
  return ContainerSummary(
    title: title ?? this.title,
    displayUrl: displayUrl ?? this.displayUrl,
  );
}