getStateName static method

String getStateName(
  1. int code
)

Implementation

static String getStateName(int code) {
  String? value = stateNameMap[code];
  if (value == null) {
    return '未知';
  }
  return value;
}