File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ import 'package:json_serializable/src/json_part_builder.dart';
13
13
import 'builder.dart' ;
14
14
15
15
final List <BuilderApplication > builders = [
16
- applyToRoot (nonNull (null ),
16
+ applyToRoot (nonNull (),
17
17
generateFor: const InputSet (include: const [
18
18
'test/test_files/kitchen_sink.dart' ,
19
19
'test/test_files/json_test_example.dart'
20
20
])),
21
- applyToRoot (wrapped (null ),
21
+ applyToRoot (wrapped (),
22
22
generateFor: const InputSet (include: const [
23
23
'test/test_files/kitchen_sink.dart' ,
24
24
'test/test_files/kitchen_sink.non_nullable.dart' ,
Original file line number Diff line number Diff line change 1
- // Copyright (c) 2017 , the Dart project authors. Please see the AUTHORS file
1
+ // Copyright (c) 2018 , the Dart project authors. Please see the AUTHORS file
2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
4
@@ -16,10 +16,10 @@ final _copyrightContent =
16
16
17
17
final copyrightHeader = '$_copyrightContent \n $defaultFileHeader ' ;
18
18
19
- Builder nonNull (_ ) => new LibraryBuilder (new _NonNullableGenerator (),
19
+ Builder nonNull ([_] ) => new LibraryBuilder (new _NonNullableGenerator (),
20
20
generatedExtension: '.non_nullable.dart' , header: copyrightHeader);
21
21
22
- Builder wrapped (_ ) => new LibraryBuilder (new _WrappedGenerator (),
22
+ Builder wrapped ([_] ) => new LibraryBuilder (new _WrappedGenerator (),
23
23
generatedExtension: '.wrapped.dart' , header: copyrightHeader);
24
24
25
25
class _NonNullableGenerator extends Generator {
You can’t perform that action at this time.
0 commit comments