deauthenticate method

void deauthenticate({
  1. dynamic data,
})

Call to change state to Unauthenticated

Implementation

void deauthenticate({dynamic data}) {
  this.state = State.Unauthenticated(data: data);
  onDeauthenticate(context, data: data);
}