applyServerGeneratedIdToEntity method

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

Implementation

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