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 22// for details. All rights reserved. Use of this source code is governed by a
33// BSD-style license that can be found in the LICENSE file.
44
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+
59import 'package:analyzer/dart/element/element.dart' ;
610import 'package:analyzer/src/dart/element/inheritance_manager3.dart' // ignore: implementation_imports
711 show
Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ _JsonConvertData? _typeConverterFrom(
214214
215215 final annotationElement = match.elementAnnotation? .element;
216216 if (annotationElement is PropertyAccessorElement ) {
217+ // ignore: deprecated_member_use
217218 final enclosing = annotationElement.enclosingElement;
218219
219220 var accessString = annotationElement.name;
Original file line number Diff line number Diff line change 22// for details. All rights reserved. Use of this source code is governed by a
33// BSD-style license that can be found in the LICENSE file.
44
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+
59import 'package:analyzer/dart/constant/value.dart' ;
610import 'package:analyzer/dart/element/element.dart' ;
711import 'package:analyzer/dart/element/type.dart' ;
You can’t perform that action at this time.
0 commit comments