$watchMany function

WatchBLoCWidget $watchMany(
  1. Map<Symbol, LiveData> liveDataMap, {
  2. required Widget build(
    1. BuildContext context,
    2. Memorize memorize
    ),
  3. LifeCycleOwner? owner,
})

Implementation

WatchBLoCWidget $watchMany(
  Map<Symbol, LiveData> liveDataMap, {
  required Widget Function(BuildContext context, Memorize memorize) build,
  LifeCycleOwner? owner,
}) {
  if (owner != null) {
    return $watch(makeMemorize(liveDataMap).owner(owner), build: build);
  } else {
    return $watch(makeMemorize(liveDataMap), build: build);
  }
}