diff --git a/flutter_frontend_server/lib/server.dart b/flutter_frontend_server/lib/server.dart index 036925de6c9be3..174c6dd909a372 100644 --- a/flutter_frontend_server/lib/server.dart +++ b/flutter_frontend_server/lib/server.dart @@ -70,6 +70,17 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface { expression, definitions, typeDefinitions, libraryUri, klass, isStatic); } + Future compileExpressionToJs( + String libraryUri, + int line, + int column, + Map jsModules, + Map jsFrameValues, + String moduleName, + String expression) { + throw UnimplementedError('Compile expression to JS is not supported'); + } + @override void reportError(String msg) { _compiler.reportError(msg);