Skip to content

Commit bd61091

Browse files
committed
Fix deprecated warnings
1 parent 3a4366a commit bd61091

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/auto_mappr/lib/src/extensions/dart_type_extension.dart

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extension DartTypeExtension on DartType {
2929
final thisType = this;
3030
if (thisType is! InterfaceType) return false;
3131

32+
// ignore: deprecated_member_use, for now use this - w/o this it fails
3233
return thisType.allSupertypes.any((i) => i.getDisplayString(withNullability: false) == 'List<int>');
3334
}
3435

@@ -51,7 +52,9 @@ extension DartTypeExtension on DartType {
5152
// }
5253

5354
// Name matches.
55+
// ignore: deprecated_member_use, for now use this - w/o this it fails
5456
final thisName = getDisplayString(withNullability: withNullability);
57+
// ignore: deprecated_member_use, for now use this - w/o this it fails
5558
final otherName = other.getDisplayString(withNullability: withNullability);
5659
final isSameName = thisName == otherName;
5760

0 commit comments

Comments
 (0)