Enable lints (#11891)

* enable lint prefer_final_fields

* enable lint recursive_getters

* enable lint unnecessary_overrides
This commit is contained in:
Alexandre Ardhuin
2017-09-01 22:18:51 +02:00
committed by GitHub
parent 9b5599a4a7
commit 0783ec906b
6 changed files with 12 additions and 12 deletions

View File

@@ -30,9 +30,9 @@ class MockApplicationPackageStore extends ApplicationPackageStore {
}
class MockPollingDeviceDiscovery extends PollingDeviceDiscovery {
List<Device> _devices = <Device>[];
StreamController<Device> _onAddedController = new StreamController<Device>.broadcast();
StreamController<Device> _onRemovedController = new StreamController<Device>.broadcast();
final List<Device> _devices = <Device>[];
final StreamController<Device> _onAddedController = new StreamController<Device>.broadcast();
final StreamController<Device> _onRemovedController = new StreamController<Device>.broadcast();
MockPollingDeviceDiscovery() : super('mock');