build method
Builds this Widget with the specified resource.
Implementation
Widget build(WatcherContext context, T resource) {
if (_builder != null) {
return _builder(context, resource);
} else {
throw UnimplementedError('Provide a builder function or override this method in a subclass.');
}
}