Use Object instead of dynamic
This commit is contained in:
parent
ef57843b95
commit
512fed4b54
1 changed files with 4 additions and 4 deletions
|
@ -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', () {
|
||||
|
|
Loading…
Reference in a new issue