controller property

  1. @Deprecated('Replace calls to the "controller" setter with calls to the "setController" method. ' 'This feature was deprecated after v1.23.0-7.0.pre.')
void controller=(StreamController<T> controller)

Use setController instead.

This setter is deprecated because it has no corresponding getter, and providing a getter would require making this class non-const.

Implementation

@Deprecated(
  '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) { // ignore: avoid_setters_without_getters
  setController(controller);
}