Как я могу получить тип из DeclerationMirror в Dart

Я перебираю объявления своих библиотек, используя зеркала, чтобы я мог читать метаданные в своих классах. Но мне нужно получить фактический тип объявления, в котором я сейчас нахожусь, но я не вижу способа сделать это в документах API.

var decs = myLibraryMirror.declarations;
decs.forEach((symbol, dec){
  dec.metaData.forEach((metaMirror){
    var meta = metaMirror.reflectee;
    if(meta is TheTypeImInterestedIn){
      // do some stuff with the meta object and the class Type it's declared on
      // but how to get the Type of the class that the declaration refers too?
    }
  });
});

person Daniel Robinson    schedule 21.12.2014    source источник