LiveData<T>.broadcast constructor

LiveData<T>.broadcast(
  1. T initValue, {
  2. String? name,
  3. bool verifyDataChange = false,
  4. StreamController<T>? streamController,
  5. LifeCycleOwner? observeOn,
  6. Logger? logger,
})

Implementation

factory LiveData.broadcast(
    T initValue, {
      String? name,
      bool verifyDataChange = false,
      StreamController<T>? streamController,
      LifeCycleOwner? observeOn,
      Logger? logger,
    }) {
  return LiveData(
    initValue,
    name: name,
    verifyDataChange: verifyDataChange,
    streamController: streamController,
    owner: observeOn,
    logger: logger,
  );
}