getErrorMessage static method

String getErrorMessage(
  1. int code
)

Implementation

static String getErrorMessage(int code) {
  return errorMessageMap[code] ?? '';
}