setCurrentUser method

dynamic setCurrentUser(
  1. User user
)

Implementation

setCurrentUser(User user) {
  state = user;
}