title: Cannot assign value of type 'String?' to type 'String?.Type'
body: <p>Can't solve the error below:</p>
  
  <p>Code snippet:</p>
  
  <pre><code>func setInfo(json: JSON) {
      self.name = json["name"].string
      self.email = json["email"].string
  
      let image = json["picture"].dictionary
      let imageData = image?["data"]?.dictionary
      self.pictureURL = imageData?["url"]?.string
  }
  
  func resetInfo() {
      self.name = nil
      self.email = nil
      self.pictureURL = nil
  </code></pre>
  
  <p>Getting error message:</p>
  
  <blockquote>
    <p>'Cannot assign value of type 'String?' to type 'String?.Type'</p>
  </blockquote>
  
  <p>in the lines:</p>
  
  <pre><code>self.name = json["name"].string
  self.email = json["email"].string
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/X2vRm.png" alt="Screenshot of the error"></p>