copyWith method

PageBeanBoardValuesItem copyWith({
  1. int? id,
  2. String? self,
  3. String? name,
  4. String? type,
  5. Map<String, dynamic>? admins,
  6. PageBeanBoardValuesItemLocation? location,
  7. bool? canEdit,
  8. bool? isPrivate,
  9. bool? favourite,
})

Implementation

PageBeanBoardValuesItem copyWith(
    {int? id,
    String? self,
    String? name,
    String? type,
    Map<String, dynamic>? admins,
    PageBeanBoardValuesItemLocation? location,
    bool? canEdit,
    bool? isPrivate,
    bool? favourite}) {
  return PageBeanBoardValuesItem(
    id: id ?? this.id,
    self: self ?? this.self,
    name: name ?? this.name,
    type: type ?? this.type,
    admins: admins ?? this.admins,
    location: location ?? this.location,
    canEdit: canEdit ?? this.canEdit,
    isPrivate: isPrivate ?? this.isPrivate,
    favourite: favourite ?? this.favourite,
  );
}