diff --git a/flutter_frontend_server/lib/server.dart b/flutter_frontend_server/lib/server.dart index 0c50557a71ecd..da4f85a895d25 100644 --- a/flutter_frontend_server/lib/server.dart +++ b/flutter_frontend_server/lib/server.dart @@ -72,7 +72,7 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface { expression, definitions, typeDefinitions, libraryUri, klass, isStatic); } - // ignore: annotate_overrides + @override Future compileExpressionToJs( String libraryUri, int line, @@ -81,7 +81,8 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface { Map jsFrameValues, String moduleName, String expression) { - throw UnimplementedError('Compile expression to JS is not supported'); + return _compiler.compileExpressionToJs(libraryUri, line, column, jsModules, + jsFrameValues, moduleName, expression); } @override