decode static method
Implementation
static APISecuritySchemeFlow? decode(String flow) {
switch (flow) {
case "accessCode":
return APISecuritySchemeFlow.authorizationCode;
case "password":
return APISecuritySchemeFlow.password;
case "implicit":
return APISecuritySchemeFlow.implicit;
case "application":
return APISecuritySchemeFlow.application;
default:
return null;
}
}