copyWith method

ContentHistoryExpandable copyWith({
  1. String? lastUpdated,
  2. String? previousVersion,
  3. String? contributors,
  4. String? nextVersion,
  5. String? ownedBy,
  6. String? lastOwnedBy,
})

Implementation

ContentHistoryExpandable copyWith(
    {String? lastUpdated,
    String? previousVersion,
    String? contributors,
    String? nextVersion,
    String? ownedBy,
    String? lastOwnedBy}) {
  return ContentHistoryExpandable(
    lastUpdated: lastUpdated ?? this.lastUpdated,
    previousVersion: previousVersion ?? this.previousVersion,
    contributors: contributors ?? this.contributors,
    nextVersion: nextVersion ?? this.nextVersion,
    ownedBy: ownedBy ?? this.ownedBy,
    lastOwnedBy: lastOwnedBy ?? this.lastOwnedBy,
  );
}