File tree 1 file changed +3
-0
lines changed
packages/auto_mappr/lib/src/extensions
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ extension DartTypeExtension on DartType {
29
29
final thisType = this ;
30
30
if (thisType is ! InterfaceType ) return false ;
31
31
32
+ // ignore: deprecated_member_use, for now use this - w/o this it fails
32
33
return thisType.allSupertypes.any ((i) => i.getDisplayString (withNullability: false ) == 'List<int>' );
33
34
}
34
35
@@ -51,7 +52,9 @@ extension DartTypeExtension on DartType {
51
52
// }
52
53
53
54
// Name matches.
55
+ // ignore: deprecated_member_use, for now use this - w/o this it fails
54
56
final thisName = getDisplayString (withNullability: withNullability);
57
+ // ignore: deprecated_member_use, for now use this - w/o this it fails
55
58
final otherName = other.getDisplayString (withNullability: withNullability);
56
59
final isSameName = thisName == otherName;
57
60
You can’t perform that action at this time.
0 commit comments