LiveData<T>.broadcast constructor
LiveData<T>.broadcast (
- T initValue, {
- String? name,
- bool verifyDataChange = false,
- StreamController<
T> ? streamController, - LifeCycleOwner? observeOn,
- 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,
);
}