companion property

ServiceCompanion get companion

Implementation

ServiceCompanion get companion {
  return ServiceCompanion(
    auditCreatedBy: Value(auditDetails?.createdBy),
    auditCreatedTime: Value(auditDetails?.createdTime),
    auditModifiedBy: Value(auditDetails?.lastModifiedBy),
    clientCreatedTime: Value(clientAuditDetails?.createdTime),
    clientModifiedTime: Value(clientAuditDetails?.lastModifiedTime),
    clientCreatedBy: Value(clientAuditDetails?.createdBy),
    clientModifiedBy: Value(clientAuditDetails?.lastModifiedBy),
    auditModifiedTime: Value(auditDetails?.lastModifiedTime),
    additionalFields: Value(additionalFields?.toJson()),
    isDeleted: Value(isDeleted),
    id: Value(id),
    clientId: Value(clientId),
    serviceDefId: Value(serviceDefId),
    isActive: Value(isActive),
    accountId: Value(accountId),
    additionalDetails: Value(jsonEncode(additionalDetails)),
    createdAt: Value(createdAt),
    nonRecoverableError: Value(nonRecoverableError),
    tenantId: Value(tenantId),
    rowVersion: Value(rowVersion),
  );
}