blob: c1882146a9c9f2d51298fcf1499d78a7499a11b1 [file] [log] [blame]
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// An implementation of the JS interop classes which are usable from the
// Dart SDK. These types need to stay in-sync with
// https://github.com/dart-lang/sdk/blob/master/pkg/js/lib/js.dart
library _js_annotations;
export 'dart:js' show allowInterop, allowInteropCaptureThis;
class JS {
final String? name;
const JS([this.name]);
}
class _Anonymous {
const _Anonymous();
}
const _Anonymous anonymous = const _Anonymous();