easy_mock_device_info 0.1.0
easy_mock_device_info: ^0.1.0 copied to clipboard
Readable test mock for device_info_plus, built on easy_mock_channel. Set the device info the channel returns, with no dependency on device_info_plus — it speaks the channel's raw map.
0.1.0 #
- Initial release.
mockDeviceInfo— scriptsdevice_info_plus'getDeviceInfochannel result (built oneasy_mock_channel). No dependency on device_info_plus; speaks the channel's raw map.set({name, manufacturer, model, id, extra});install()resets to an empty map.