title: How do I get all fields for a class in Dart?
body: <p>I looked at the dart:mirrors library, and I found <a href="http://api.dartlang.org/docs/releases/latest/dart_mirrors/ClassMirror.html" rel="noreferrer">ClassMirror</a>. While I saw <code>getField</code> I didn't see access to <em>all</em> fields. I did see <code>getters</code>, though.</p>
  
  <p>If I want to get all fields for a class, do I have to go through <code>getters</code> ?</p>