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> {
1237
1237
} else if (_isInt || _isDouble || _isString) {
1238
1238
argParser.addOption (argName,
1239
1239
abbr: abbr,
1240
- defaultsTo: defaultsTo? .toString () ?? null ,
1240
+ defaultsTo: defaultsTo? .toString (),
1241
1241
help: help,
1242
1242
hide: hide);
1243
1243
} else if (_isListString || _isMapString) {
Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ class SourceLinker {
59
59
/// Most users of this class should use the [SourceLinker.fromElement] factory
60
60
/// instead. This constructor is public for testing.
61
61
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}) {
68
68
assert (excludes != null , 'linkToSource excludes can not be null' );
69
69
if (revision != null || root != null || uriTemplate != null ) {
70
70
if (root == null || uriTemplate == null ) {
You can’t perform that action at this time.
0 commit comments