update method

void update([
  1. VoidCallback fn = empty
])

Implementation

void update([VoidCallback fn = empty]) => setState(fn);