changePassword method

  1. @override
Future<Result<void>> changePassword({
  1. required String currentPassword,
  2. required String newPassword,
})
override

currentPassword and newPassword are sent exactly as typed.

Implementation

@override
Future<Result<void>> changePassword({
  required String currentPassword,
  required String newPassword,
}) async {
  changePasswordCalls.add('$currentPassword|$newPassword');
  await _answer();
  return changePasswordResult;
}