companion property

AddressCompanion get companion

Implementation

AddressCompanion get companion {
  return AddressCompanion(
    auditCreatedBy: Value(auditDetails?.createdBy),
    auditCreatedTime: Value(auditDetails?.createdTime),
    auditModifiedBy: Value(auditDetails?.lastModifiedBy),
    auditModifiedTime: Value(auditDetails?.lastModifiedTime),
    additionalFields: Value(json.encode(additionDetails)),
    id: Value(id),
    relatedClientReferenceId: Value(relatedClientReferenceId),
    doorNo: Value(doorNo),
    latitude: Value(geoLocation?.latitude),
    longitude: Value(geoLocation?.longitude),
    addressLine1: Value(buildingName),
    addressLine2: Value(street),
    landmark: Value(landmark),
    city: Value(city),
    pincode: Value(pincode),
    buildingName: Value(buildingName),
    street: Value(street),
    boundary: Value(locality?.name),
    tenantId: Value(tenantId),
    isDeleted: Value(isDeleted),
    rowVersion: Value(rowVersion),
    localityBoundaryCode: Value(locality?.code),
    localityBoundaryName: Value(locality?.name),
  );
}