- Adds additional tests for
PlatformInterface
andMockPlatformInterfaceMixin
.
- Updates README to demonstrate
verify
rather thanverifyToken
, and to note that the test mixin applies to fakes as well as mocks. - Adds an additional test for
verifyToken
.
- Fixes
verify
to work with fake objects, not just mocks.
- Introduce
verify
, which prevents use ofconst Object()
as instance token. - Add a comment indicating that
verifyToken
will be deprecated in a future release.
- Update package description.
- Fix
federated flutter plugins
link in the README.md.
- Migrate to null safety.
- Fix homepage in
pubspec.yaml
.
- Make the pedantic dev_dependency explicit.
- Fixed a bug that made all platform interfaces appear as mocks in release builds (flutter/flutter#46941).
- Provides
PlatformInterface
with common mechanism for enforcing that a platform interface is not implemented withimplements
. - Provides test only
MockPlatformInterface
to enable using Mockito to mock platform interfaces.