fromJSON static method
Implementation
static RoleConfigurationSource fromJSON(String data) {
switch (data) {
case "CONFIGURATION":
return RoleConfigurationSource.configuration;
case "INHERITED":
return RoleConfigurationSource.inherited;
case "DEFAULT":
return RoleConfigurationSource.predefined;
default:
throw ArgumentError('Invalid RoleConfigurationSource entry value $data');
}
}