@@ -109,10 +109,8 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
109
109
/// case AuthSignUpStep.confirmSignUp:
110
110
/// final codeDeliveryDetails = result.nextStep.codeDeliveryDetails!;
111
111
/// _handleCodeDelivery(codeDeliveryDetails);
112
- /// break;
113
112
/// case AuthSignUpStep.done:
114
113
/// safePrint('Sign up is complete');
115
- /// break;
116
114
/// }
117
115
/// }
118
116
/// ```
@@ -190,10 +188,8 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
190
188
/// case AuthSignUpStep.confirmSignUp:
191
189
/// final codeDeliveryDetails = result.nextStep.codeDeliveryDetails!;
192
190
/// _handleCodeDelivery(codeDeliveryDetails);
193
- /// break;
194
191
/// case AuthSignUpStep.done:
195
192
/// safePrint('Sign up is complete');
196
- /// break;
197
193
/// }
198
194
/// }
199
195
/// ```
@@ -337,7 +333,6 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
337
333
/// case AuthSignInStep.confirmSignInWithSmsMfaCode:
338
334
/// final codeDeliveryDetails = result.nextStep.codeDeliveryDetails!;
339
335
/// _handleCodeDelivery(codeDeliveryDetails);
340
- /// break;
341
336
/// // ···
342
337
/// }
343
338
/// }
@@ -363,7 +358,6 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
363
358
/// // ···
364
359
/// case AuthSignInStep.confirmSignInWithNewPassword:
365
360
/// safePrint('Enter a new password to continue signing in');
366
- /// break;
367
361
/// // ···
368
362
/// }
369
363
/// }
@@ -383,7 +377,6 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
383
377
/// final parameters = result.nextStep.additionalInfo;
384
378
/// final prompt = parameters['prompt']!;
385
379
/// safePrint(prompt);
386
- /// break;
387
380
/// // ···
388
381
/// }
389
382
/// }
@@ -403,7 +396,6 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
403
396
/// username: username,
404
397
/// );
405
398
/// await _handleResetPasswordResult(resetResult);
406
- /// break;
407
399
/// // ···
408
400
/// }
409
401
/// }
@@ -416,10 +408,8 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
416
408
/// case AuthResetPasswordStep.confirmResetPasswordWithCode:
417
409
/// final codeDeliveryDetails = result.nextStep.codeDeliveryDetails!;
418
410
/// _handleCodeDelivery(codeDeliveryDetails);
419
- /// break;
420
411
/// case AuthResetPasswordStep.done:
421
412
/// safePrint('Successfully reset password');
422
- /// break;
423
413
/// }
424
414
/// }
425
415
/// ```
@@ -439,7 +429,6 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
439
429
/// username: username,
440
430
/// );
441
431
/// _handleCodeDelivery(resendResult.codeDeliveryDetails);
442
- /// break;
443
432
/// // ···
444
433
/// }
445
434
/// }
@@ -465,7 +454,6 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
465
454
/// // ···
466
455
/// case AuthSignInStep.done:
467
456
/// safePrint('Sign in is complete');
468
- /// break;
469
457
/// // ···
470
458
/// }
471
459
/// }
@@ -704,10 +692,8 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
704
692
/// case AuthResetPasswordStep.confirmResetPasswordWithCode:
705
693
/// final codeDeliveryDetails = result.nextStep.codeDeliveryDetails!;
706
694
/// _handleCodeDelivery(codeDeliveryDetails);
707
- /// break;
708
695
/// case AuthResetPasswordStep.done:
709
696
/// safePrint('Successfully reset password');
710
- /// break;
711
697
/// }
712
698
/// }
713
699
/// ```
@@ -1045,10 +1031,8 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
1045
1031
/// case AuthUpdateAttributeStep.confirmAttributeWithCode:
1046
1032
/// final codeDeliveryDetails = result.nextStep.codeDeliveryDetails!;
1047
1033
/// _handleCodeDelivery(codeDeliveryDetails);
1048
- /// break;
1049
1034
/// case AuthUpdateAttributeStep.done:
1050
1035
/// safePrint('Successfully updated attribute');
1051
- /// break;
1052
1036
/// }
1053
1037
/// }
1054
1038
/// ```
@@ -1108,10 +1092,8 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
1108
1092
/// case AuthUpdateAttributeStep.confirmAttributeWithCode:
1109
1093
/// final destination = value.nextStep.codeDeliveryDetails?.destination;
1110
1094
/// safePrint('Confirmation code sent to $destination for $key');
1111
- /// break;
1112
1095
/// case AuthUpdateAttributeStep.done:
1113
1096
/// safePrint('Update completed for $key');
1114
- /// break;
1115
1097
/// }
1116
1098
/// });
1117
1099
/// } on AuthException catch (e) {
0 commit comments