dumpOne(docID) {
    const doc = this.findDoc(docID);
    const email = doc.email;
    const firstName = doc.firstName;
    const lastName = doc.lastName;
    const gender = doc.gender;
    const description = doc.description;
    const address = doc.address;
    const city = doc.city;
    const state = doc.state;
    const zip = doc.zip;
    const phone = doc.phone;
    const interests = doc.interests;
    const skills = doc.skills;
    const environmentalPreference = doc.environmentalPreference;
    const availability = doc.availability;
    const totalHours = doc.totalHours;
    const eventsParticipated = doc.eventsParticipated;
    const registeredEvents = doc.registeredEvents;
    // When dumped, string will be sliced as the original base64 string is too long
    const profilePicture = doc.profilePicture.slice(0, 50);
    const bannerPicture = doc.bannerPicture.slice(0, 50);
    return { email, firstName, lastName, gender, description, address, city, state, zip, phone, interests, skills, environmentalPreference, availability, totalHours, eventsParticipated, registeredEvents, profilePicture, bannerPicture };
  }
/**
   * Returns an object representing the VolunteerProfile docID in a format acceptable to define().
   * @param docID The docID of a VolunteerProfile
   * @returns { Object } An object representing the definition of docID.
   */
Returns an object representing the VolunteerProfile docID in a format acceptable to define().
@param docID The docID of a VolunteerProfile
@returns { Object } An object representing the definition of docID.
Returns an object representing the VolunteerProfile docID in a format acceptable to define () . @param docID The docID of a VolunteerProfile @returns { Object } An object representing the definition of docID .
dumpOne(docID) {
    const doc = this.findDoc(docID);
    const email = doc.email;
    const firstName = doc.firstName;
    const lastName = doc.lastName;
    const gender = doc.gender;
    const description = doc.description;
    const address = doc.address;
    const city = doc.city;
    const state = doc.state;
    const zip = doc.zip;
    const phone = doc.phone;
    const interests = doc.interests;
    const skills = doc.skills;
    const environmentalPreference = doc.environmentalPreference;
    const availability = doc.availability;
    const totalHours = doc.totalHours;
    const eventsParticipated = doc.eventsParticipated;
    const registeredEvents = doc.registeredEvents;
    const profilePicture = doc.profilePicture.slice(0, 50);
    const bannerPicture = doc.bannerPicture.slice(0, 50);
    return { email, firstName, lastName, gender, description, address, city, state, zip, phone, interests, skills, environmentalPreference, availability, totalHours, eventsParticipated, registeredEvents, profilePicture, bannerPicture };
  }
dumpOne ( docID ) { const doc = this . findDoc ( docID ) ; const email = doc . email ; const firstName = doc . firstName ; const lastName = doc . lastName ; const gender = doc . gender ; const description = doc . description ; const address = doc . address ; const city = doc . city ; const state = doc . state ; const zip = doc . zip ; const phone = doc . phone ; const interests = doc . interests ; const skills = doc . skills ; const environmentalPreference = doc . environmentalPreference ; const availability = doc . availability ; const totalHours = doc . totalHours ; const eventsParticipated = doc . eventsParticipated ; const registeredEvents = doc . registeredEvents ; const profilePicture = doc . profilePicture . slice ( 0 , 50 ) ; const bannerPicture = doc . bannerPicture . slice ( 0 , 50 ) ; return { email , firstName , lastName , gender , description , address , city , state , zip , phone , interests , skills , environmentalPreference , availability , totalHours , eventsParticipated , registeredEvents , profilePicture , bannerPicture } ; }
Returns an object representing the VolunteerProfile docID in a format acceptable to define().
Returns an object representing the VolunteerProfile docID in a format acceptable to define () .
// When dumped, string will be sliced as the original base64 string is too long