Skip to content

Commit

Permalink
Adjust links to dart.dev class modifier documentation (#3476)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored Aug 14, 2023
1 parent 5cfb1f3 commit e148373
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions lib/src/model/language_feature.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,12 @@ const Map<String, String> _featureDescriptions = {
};

const Map<String, String> _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
Expand Down

0 comments on commit e148373

Please sign in to comment.