getChangeSuperType static method

ChangeSuperType? getChangeSuperType(
  1. int? changeSuperValue
)

Implementation

static ChangeSuperType? getChangeSuperType(int? changeSuperValue) {
  switch (changeSuperValue) {
    case 0:
      return ChangeSuperType.VOTING;
    case 2:
      return ChangeSuperType.NUMERALS;
    case 5:
      return ChangeSuperType.CHANGES;
    case 9:
      return ChangeSuperType.USER;
  }
  return null;
}