update method
Marks the element for rebuild when the widget updates.
Implementation
@override
/// Marks the element for rebuild when the widget updates.
void update(covariant ConsumerStatefulWidget newWidget) {
super.update(newWidget);
markNeedsBuild();
}