fromRelation static method
Implementation
static ProjectRole fromRelation(String? relation) {
for (final role in values) {
if (role.relation == relation) {
return role;
}
}
return none;
}
static ProjectRole fromRelation(String? relation) {
for (final role in values) {
if (role.relation == relation) {
return role;
}
}
return none;
}