applyServerGeneratedIdToEntity method

  1. @override
ProjectBeneficiaryModel applyServerGeneratedIdToEntity(
  1. ProjectBeneficiaryModel entity,
  2. String serverGeneratedId,
  3. int rowVersion
)
override

Implementation

@override
ProjectBeneficiaryModel applyServerGeneratedIdToEntity(
    ProjectBeneficiaryModel entity,
    String serverGeneratedId,
    int rowVersion,
    ) =>
    entity.copyWith(id: serverGeneratedId, rowVersion: rowVersion);