File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1237,7 +1237,7 @@ abstract class _DartdocArgOption<T> implements DartdocOption<T> {
12371237 } else if (_isInt || _isDouble || _isString) {
12381238 argParser.addOption (argName,
12391239 abbr: abbr,
1240- defaultsTo: defaultsTo? .toString () ?? null ,
1240+ defaultsTo: defaultsTo? .toString (),
12411241 help: help,
12421242 hide: hide);
12431243 } else if (_isListString || _isMapString) {
Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ class SourceLinker {
5959 /// Most users of this class should use the [SourceLinker.fromElement] factory
6060 /// instead. This constructor is public for testing.
6161 SourceLinker (
62- {List < String > this .excludes,
63- int this .lineNumber,
64- String this .sourceFileName,
65- String this .revision,
66- String this .root,
67- String this .uriTemplate}) {
62+ {this .excludes,
63+ this .lineNumber,
64+ this .sourceFileName,
65+ this .revision,
66+ this .root,
67+ this .uriTemplate}) {
6868 assert (excludes != null , 'linkToSource excludes can not be null' );
6969 if (revision != null || root != null || uriTemplate != null ) {
7070 if (root == null || uriTemplate == null ) {
You can’t perform that action at this time.
0 commit comments