applyServerGeneratedIdToEntity method

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

Implementation

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