enrollRecoveryCode method
Initiates recovery code enrollment.
Returns an EnrollmentChallenge containing the recoveryCode, along with
id and authSession needed to complete the enrollment via
confirmEnrollment.
Requires an access token with the create:me:authentication_methods
scope and audience https://{domain}/me/.
Usage example
final challenge = await myAccount.enrollRecoveryCode();
// Store challenge.recoveryCode securely
Implementation
Future<EnrollmentChallenge> enrollRecoveryCode() =>
Auth0FlutterWebPlatform.instance.enrollRecoveryCode(_accessToken);