copyWith method

AddonsFunDetails copyWith({
  1. int? idAddonsFunDtls,
  2. String? createdOn,
  3. int? updatedBy,
  4. String? updatedOn,
  5. String? addOnType,
  6. String? imageName,
  7. String? userDisplayName,
  8. int? createdBy,
  9. int? funRefId,
  10. String? funRefVal,
  11. int? isActive,
  12. int? isMarked,
  13. bool? isMarkedImp,
  14. int? moduleId,
  15. String? pageElementId,
  16. int? transId,
  17. String? transType,
})

Copy object with some updated values

Implementation

AddonsFunDetails copyWith({
  int? idAddonsFunDtls,
  String? createdOn,
  int? updatedBy,
  String? updatedOn,
  String? addOnType,
  String? imageName,
  String? userDisplayName,
  int? createdBy,
  int? funRefId,
  String? funRefVal,
  int? isActive,
  int? isMarked,
  bool? isMarkedImp,
  int? moduleId,
  String? pageElementId,
  int? transId,
  String? transType,
}) {
  return AddonsFunDetails(
    idAddonsFunDtls: idAddonsFunDtls ?? this.idAddonsFunDtls,
    createdOn: createdOn ?? this.createdOn,
    updatedBy: updatedBy ?? this.updatedBy,
    updatedOn: updatedOn ?? this.updatedOn,
    addOnType: addOnType ?? this.addOnType,
    imageName: imageName ?? this.imageName,
    userDisplayName: userDisplayName ?? this.userDisplayName,
    createdBy: createdBy ?? this.createdBy,
    funRefId: funRefId ?? this.funRefId,
    funRefVal: funRefVal ?? this.funRefVal,
    isActive: isActive ?? this.isActive,
    isMarked: isMarked ?? this.isMarked,
    isMarkedImp: isMarkedImp ?? this.isMarkedImp,
    moduleId: moduleId ?? this.moduleId,
    pageElementId: pageElementId ?? this.pageElementId,
    transId: transId ?? this.transId,
    transType: transType ?? this.transType,
  );
}