applyServerGeneratedIdToEntity method
StockModel
applyServerGeneratedIdToEntity(
- StockModel entity,
- String serverGeneratedId,
- int rowVersion
override
Implementation
@override
StockModel applyServerGeneratedIdToEntity(
StockModel entity,
String serverGeneratedId,
int rowVersion,
) =>
entity.copyWith(
id: serverGeneratedId,
rowVersion: rowVersion,
);