watch method

Widget watch(
  1. Widget builder(
    1. T model
    ), {
  2. List<Symbol>? fields,
})

Watch the entire model (object-wise) or specific fields

Implementation

Widget watch(Widget Function(T model) builder, {List<Symbol>? fields}) {
  return ReactiveBuilder<T>(model: this, fields: fields, builder: builder);
}