File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
json_serializable/lib/src Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 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
5
+ // TODO: Waiting until Dart 3.6 so we can pin a stable Dart SDK compatible w/ latest
6
+ // analyzer
7
+ // ignore_for_file: deprecated_member_use
8
+
5
9
import 'package:analyzer/dart/element/element.dart' ;
6
10
import 'package:analyzer/src/dart/element/inheritance_manager3.dart' // ignore: implementation_imports
7
11
show
Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ _JsonConvertData? _typeConverterFrom(
214
214
215
215
final annotationElement = match.elementAnnotation? .element;
216
216
if (annotationElement is PropertyAccessorElement ) {
217
+ // ignore: deprecated_member_use
217
218
final enclosing = annotationElement.enclosingElement;
218
219
219
220
var accessString = annotationElement.name;
Original file line number Diff line number Diff line change 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
5
+ // TODO: Waiting until Dart 3.6 so we can pin a stable Dart SDK compatible w/ latest
6
+ // analyzer
7
+ // ignore_for_file: deprecated_member_use
8
+
5
9
import 'package:analyzer/dart/constant/value.dart' ;
6
10
import 'package:analyzer/dart/element/element.dart' ;
7
11
import 'package:analyzer/dart/element/type.dart' ;
You can’t perform that action at this time.
0 commit comments