applyServerGeneratedIdToEntity method

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

Implementation

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