Adds @override annotation to generated overriding Dart methods.

Fix for https://youtrack.jetbrains.com/issue/WEB-14399.