Index: sdk/lib/_internal/lib/annotations.dart |
diff --git a/sdk/lib/_internal/lib/annotations.dart b/sdk/lib/_internal/lib/annotations.dart |
index 23f1234b881cdcc912a16304ecfc9fe0d795f453..1e63cf99a61c7774b6d5735ea8915acc36ed0e16 100644 |
--- a/sdk/lib/_internal/lib/annotations.dart |
+++ b/sdk/lib/_internal/lib/annotations.dart |
@@ -28,3 +28,9 @@ class IrRepresentation { |
final bool value; |
const IrRepresentation(this.value); |
} |
+ |
+/// Marks a class as native and defines its JavaScript name(s). |
+class Native { |
+ final String name; |
+ const Native(this.name); |
+} |