getChangeSuperTypeValue static method

int? getChangeSuperTypeValue(
  1. ChangeSuperType? changeSuperType
)

Implementation

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