getClassDeclarationFromType method
Implementation
ClassDeclaration? getClassDeclarationFromType(Type type) {
final classMirror = reflectType(type);
return analyzer!.getClassFromFile(
MirrorSystem.getName(classMirror.simpleName),
resolveUri(classMirror.location!.sourceUri));
}