Enable avoid_setters_without_getters (#91067)

This commit is contained in:
Ian Hickson
2021-10-01 00:58:05 -07:00
committed by GitHub
parent 50604c614e
commit 989f864497
32 changed files with 131 additions and 117 deletions

View File

@@ -71,7 +71,7 @@ class PluginEventChannel<T> {
'Replace calls to the "controller" setter with calls to the "setController" method. '
'This feature was deprecated after v1.23.0-7.0.pre.'
)
set controller(StreamController<T> controller) {
set controller(StreamController<T> controller) { // ignore: avoid_setters_without_getters
setController(controller);
}