update method
- CommentModel cb(
- CommentModel state
Updatees the state with the new value.
Implementation
void update(CommentModel Function(CommentModel state) cb) =>
state = cb(state);
Updatees the state with the new value.
void update(CommentModel Function(CommentModel state) cb) =>
state = cb(state);