compiler: dart: fix map -> class conversion