From e14837350492494bc693d69d29b9e21f50c224d0 Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Mon, 14 Aug 2023 13:47:01 -0500 Subject: [PATCH] Adjust links to dart.dev class modifier documentation (#3476) --- lib/src/model/language_feature.dart | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/lib/src/model/language_feature.dart b/lib/src/model/language_feature.dart index 2a4b951334..50b90001b8 100644 --- a/lib/src/model/language_feature.dart +++ b/lib/src/model/language_feature.dart @@ -16,19 +16,12 @@ const Map _featureDescriptions = { }; const Map _featureUrls = { - // TODO(jcollins-g): link to dart.dev for all links once documentation is - // available. - 'sealed': - 'https://github.com/dart-lang/language/blob/main/accepted/future-releases/sealed-types/feature-specification.md#sealed-types', - 'abstract': 'https://dart.dev/language/classes#abstract-classes', - 'base': - 'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers', - 'interface': - 'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers', - 'final': - 'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers', - 'mixin': - 'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers', + 'sealed': 'https://dart.dev/language/class-modifiers#sealed', + 'abstract': 'https://dart.dev/language/class-modifiers#abstract', + 'base': 'https://dart.dev/language/class-modifiers#base', + 'interface': 'https://dart.dev/language/class-modifiers#interface', + 'final': 'https://dart.dev/language/class-modifiers#final', + 'mixin': 'https://dart.dev/language/mixins', }; /// An abstraction for a language feature; used to render tags ('chips') to