FluxTransformer constructor
FluxTransformer({
- bool sync = false,
- bool? cancelOnError = true,
- FluxResponseMode responseMode = FluxResponseMode.full,
Implementation
FluxTransformer(
{bool sync = false,
this.cancelOnError = true,
this.responseMode = FluxResponseMode.full}) {
_controller = StreamController<FluxRecord>(
onListen: _onListen,
onCancel: _onCancel,
onPause: () {
_subscription!.pause();
},
onResume: () {
_subscription!.resume();
},
sync: sync);
}