File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/cloud_firestore_odm/cloud_firestore_odm_generator Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ bool isValidatorAnnotation(ElementAnnotation annotation) {
36
36
final element = annotation.element;
37
37
if (element == null || element is ! ConstructorElement ) return false ;
38
38
39
- return element.enclosingElement .allSupertypes.any ((superType) {
39
+ return element.enclosingElement2 .allSupertypes.any ((superType) {
40
40
return superType.element.name == 'Validator' &&
41
41
superType.element.librarySource.uri.toString () ==
42
42
'package:cloud_firestore_odm/src/validator.dart' ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ environment:
8
8
sdk : " >=2.16.0 <3.0.0"
9
9
10
10
dependencies :
11
- analyzer : " >=2.0.0 <5.0.0 "
11
+ analyzer : ^4.3.0
12
12
build : ^2.0.1
13
13
build_config : ^1.0.0
14
14
cloud_firestore_odm : ^1.0.0-dev.23
You can’t perform that action at this time.
0 commit comments