title: Retrieve data with child from Firebase Database and Populate Object Class using Kotlin
body: <p>How can I retrieve data with child* from Firebase Database and populate an User object class.</p>
  
  <p>Firebase example:</p>
  
  <ul>
  <li>users
  
  <ul>
  <li>uid : 131232
  
  <ul>
  <li>firstName : John</li>
  <li>lastName : Doe</li>
  <li>location
  
  <ul>
  <li>lat* : 15.2512312</li>
  <li>lon* : -12.1512321</li>
  </ul></li>
  <li>chats
  
  <ul>
  <li>-k1231* : true</li>
  <li>-k1285* : true</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>and after having retrieved the data being able to use ie.: <strong>User.firstName</strong> or <strong>User.location.lat</strong> etc.</p>
  
  <p>Thank you in advance.</p>