recoverPassword method
Future<Result<AuthAuthorizationBase> >
recoverPassword({
- required String code,
- AccountPasswordInputSettingsBase? newSettings,
Recover Password.
ID: 37096c70.
Implementation
Future<Result<AuthAuthorizationBase>> recoverPassword({
required String code,
AccountPasswordInputSettingsBase? newSettings,
}) async {
// Preparing the request.
final request = AuthRecoverPassword(code: code, newSettings: newSettings);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<AuthAuthorizationBase>();
}