title: Converting string to variable name in Dart
body: <p>In javascript you can do something like this:</p>
  
  <pre><code>var name = 'myVariableName';
  myObject[name] = someValue;
  </code></pre>
  
  <p>In Dart, can I get variables from class objects by their name as a string? For example</p>
  
  <pre><code>var vector = new Vector3();
  vector['x'] = 0.0;
  </code></pre>