File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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].
You can’t perform that action at this time.
0 commit comments