fromValue static method

MemberActionsOptions? fromValue(
  1. int value
)

Implementation

static MemberActionsOptions? fromValue(int value) {
  for (final option in MemberActionsOptions.values) {
    if (option.value == value) {
      return option;
    }
  }
  return null;
}