fromString static method
Implementation
static ResponseSecurityCodes fromString(String? s) {
switch (s) {
case 'tampered':
return ResponseSecurityCodes.tampered;
case 'notTampered':
return ResponseSecurityCodes.notTampered;
case 'missingParametersError':
return ResponseSecurityCodes.missingParametersError;
case 'unavailable':
return ResponseSecurityCodes.unavailable;
case 'genericError':
default:
return ResponseSecurityCodes.genericError;
}
}