onChange method

  1. @override
Stream? onChange({
  1. bool type = true,
})
override

初始化监听

Implementation

@override
Stream<dynamic>? onChange({bool type = true}) {
  onListener ??= eventChannel.receiveBroadcastStream(type);
  return onListener;
}