You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			36 lines
		
	
	
		
			892 B
		
	
	
	
		
			Dart
		
	
			
		
		
	
	
			36 lines
		
	
	
		
			892 B
		
	
	
	
		
			Dart
		
	
| // import 'package:Dleelna/classes/enums.dart';
 | |
| //
 | |
| // extension SelectedAuthMethodTypesService on AuthMethodTypes {
 | |
| //   int getTypeIdService() {
 | |
| //     switch (this) {
 | |
| //       case AuthMethodTypes.sms:
 | |
| //         return 1;
 | |
| //       case AuthMethodTypes.whatsApp:
 | |
| //         return 2;
 | |
| //       case AuthMethodTypes.fingerPrint:
 | |
| //         return 3;
 | |
| //       case AuthMethodTypes.faceID:
 | |
| //         return 4;
 | |
| //       case AuthMethodTypes.moreOptions:
 | |
| //         return 5;
 | |
| //     }
 | |
| //   }
 | |
| //
 | |
| //   static getMethodsTypeService(int typeId) {
 | |
| //     switch (typeId) {
 | |
| //       case 1:
 | |
| //         return AuthMethodTypes.sms;
 | |
| //       case 2:
 | |
| //         return AuthMethodTypes.whatsApp;
 | |
| //       case 3:
 | |
| //         return AuthMethodTypes.fingerPrint;
 | |
| //       case 4:
 | |
| //         return AuthMethodTypes.faceID;
 | |
| //       case 5:
 | |
| //         return AuthMethodTypes.moreOptions;
 | |
| //     }
 | |
| //   }
 | |
| // }
 | |
| 
 | |
| 
 |