copyWith method

PageEntity copyWith({
  1. String? id,
  2. String? branchID,
  3. String? name,
  4. String? stabilID,
  5. String? sharedTeamID,
  6. ID? variantID,
})

Implementation

PageEntity copyWith({
  final String? id,
  final String? branchID,
  final String? name,
  final String? stabilID,
  final String? sharedTeamID,
  final ID? variantID,
}) =>
    PageEntity(
      id: id ?? this.id,
      branchID: branchID ?? this.branchID,
      name: name ?? this.name,
      stabilID: stabilID ?? this.stabilID,
      sharedTeamID: sharedTeamID,
      variantID: variantID,
    );