Skip to content

Commit 8affa45

Browse files
committed
Code review
1 parent a168a41 commit 8affa45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/lib/js_interop/js_interop.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ extension type JSSymbol._(JSSymbolRepType _jsSymbol) implements JSAny {
544544
JSSymbol([String? description]) =>
545545
description == null ? _constructSymbol() : _constructSymbol(description);
546546

547-
/// Aearches for an existing symbol in a runtime-wide symbol registry with the
547+
/// Searches for an existing symbol in a runtime-wide symbol registry with the
548548
/// given key and returns it if found.
549549
///
550550
/// Otherwise, creates a new symbol with this key, adds it to the global
@@ -653,7 +653,7 @@ extension type JSSymbol._(JSSymbolRepType _jsSymbol) implements JSAny {
653653
/// symbol (as registered with [forKey]), if this symbol was created with
654654
/// [Symbol.forKey].
655655
@Since('3.11')
656-
String get key => _keyFor(this);
656+
String? get key => _keyFor(this);
657657

658658
/// A string containing the description of the symbol, as passed to [new
659659
/// Symbol].

0 commit comments

Comments
 (0)