applyServerGeneratedIdToEntity method

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

Implementation

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