applyServerGeneratedIdToEntity method

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

Implementation

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