companion property

AddressCompanion get companion

Implementation

AddressCompanion get companion {
  return AddressCompanion(
    localityBoundaryCode: Value(locality?.code),
    localityBoundaryName: Value(locality?.name),
    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),
    relatedClientReferenceId: Value(relatedClientReferenceId),
    doorNo: Value(doorNo),
    latitude: Value(latitude),
    longitude: Value(longitude),
    locationAccuracy: Value(locationAccuracy),
    addressLine1: Value(addressLine1),
    addressLine2: Value(addressLine2),
    landmark: Value(landmark),
    city: Value(city),
    pincode: Value(pincode),
    buildingName: Value(buildingName),
    street: Value(street),
    boundaryType: Value(boundaryType),
    boundary: Value(boundary),
    nonRecoverableError: Value(nonRecoverableError),
    tenantId: Value(tenantId),
    rowVersion: Value(rowVersion),
    type: Value(type),
  );
}