setPasswordToken method

Future<void> setPasswordToken(
  1. String token
)

Implementation

Future<void> setPasswordToken(String token) async {
  final prefs = await SharedPreferences.getInstance();
  prefs.setString("password_token", token);
  payload?.token = token;
}