title: Access to type of DeclarationMirror
body: <p>I need to access the type of <code>DeclarationMirror</code>. In the <a href="https://api.dartlang.org/stable/1.24.2/dart-mirrors/DeclarationMirror-class.html" rel="nofollow noreferrer">DeclarationMirror public API</a> I can't see any method or property to access the type, but in Dartium, the <code>DeclarationMirror</code> missing property <code>type</code> is working and returning a <code>ClassMirror</code> with the type of the <code>DeclarationMirror</code>.</p>
  
  <pre><code>&gt; declare is DeclarationMirror
  &lt; true
  &gt; declare.type
  &lt; ClassMirror on 'Logger'
  &gt; declare.type.reflectedType
  &lt; class Logger
  </code></pre>
  
  <p>Is safe using this way to get the type of DeclarationMirror?</p>
  
  <p>If it is not safe, there is any other way safer to access it?</p>