File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -62,23 +62,12 @@ class InvalidGenerationSource implements Exception {
62
62
63
63
InvalidGenerationSource (
64
64
this .message, {
65
- Annotatable ? annotatable,
66
65
this .todo = '' ,
67
- // ignore: deprecated_member_use until analyzer 7 support is dropped.
68
- Element2 ? element,
69
- ElementDirective ? elementDirective,
70
- Fragment ? fragment,
66
+ this .element,
67
+ this .elementDirective,
68
+ this .fragment,
71
69
this .node,
72
- }) : element =
73
- element ??
74
- // ignore: deprecated_member_use until analyzer 7 support is dropped.
75
- (annotatable is Element2 ? annotatable : null ) as Element2 ? ,
76
- elementDirective =
77
- elementDirective ??
78
- (annotatable is ElementDirective ? annotatable : null ),
79
- fragment =
80
- fragment ??
81
- (annotatable is Fragment ? annotatable : null ) as Fragment ? ;
70
+ });
82
71
83
72
@override
84
73
String toString () {
You can’t perform that action at this time.
0 commit comments