reset method

Future<void> reset(
  1. String token,
  2. String newPassword
)

Completes a password reset.

Implementation

Future<void> reset(String token, String newPassword) async {
  await _api.call(
    CloudOperations.resetPassword,
    body: {'token': token, 'password': newPassword},
    authenticated: false,
  );
}