Use Object instead of dynamic

This commit is contained in:
Tobe O 2019-10-12 09:42:11 -04:00
parent ef57843b95
commit 512fed4b54

View file

@ -32,8 +32,8 @@ void main() {
expect(mirror.constructors, isEmpty);
});
test('reflectedType returns dynamic', () {
expect(mirror.reflectedType, dynamic);
test('reflectedType returns Object', () {
expect(mirror.reflectedType, Object);
});
test('cannot call newInstance', () {
@ -56,8 +56,8 @@ void main() {
expect(mirror.typeParameters, isEmpty);
});
test('reflectedType returns dynamic', () {
expect(mirror.reflectedType, dynamic);
test('reflectedType returns Object', () {
expect(mirror.reflectedType, Object);
});
test('cannot call newInstance', () {