applyServerGeneratedIdToEntity method

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

Implementation

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