mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 05:36:49 +00:00
bdbecf318e
Change-Id: Ib0645b4e3b0bd410188be9e39755be5e4c02bb44 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/240323 Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Joshua Litt <joshualitt@google.com>
23 lines
532 B
Dart
23 lines
532 B
Dart
// Copyright (c) 2022, 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.
|
|
|
|
// This file contains annotations for JS interop on Wasm.
|
|
|
|
class JS {
|
|
final String? name;
|
|
const JS([this.name]);
|
|
}
|
|
|
|
class _Anonymous {
|
|
const _Anonymous();
|
|
}
|
|
|
|
class _StaticInterop {
|
|
const _StaticInterop();
|
|
}
|
|
|
|
const _Anonymous anonymous = _Anonymous();
|
|
|
|
const _StaticInterop staticInterop = _StaticInterop();
|