PgrServiceModel constructor

const PgrServiceModel({
  1. required String clientReferenceId,
  2. bool active = true,
  3. String? id,
  4. required String tenantId,
  5. required String serviceCode,
  6. String? serviceRequestId,
  7. required String description,
  8. String? accountId,
  9. required PgrServiceApplicationStatus applicationStatus,
  10. String? source,
  11. required PgrComplainantModel user,
  12. bool isDeleted = false,
  13. int rowVersion = 1,
  14. required PgrAddressModel address,
  15. String? additionalDetail,
  16. AuditDetails? auditDetails,
  17. ClientAuditDetails? clientAuditDetails,
})

Implementation

const PgrServiceModel({
  required this.clientReferenceId,
  this.active = true,
  this.id,
  required this.tenantId,
  required this.serviceCode,
  this.serviceRequestId,
  required this.description,
  this.accountId,
  required this.applicationStatus,
  this.source,
  required this.user,
  this.isDeleted = false,
  this.rowVersion = 1,
  required this.address,
  this.additionalDetail,
  super.auditDetails,
  super.clientAuditDetails,
}) : super(isDeleted: false);