fromInt static method

GeneralSyncErrorCode fromInt(
  1. int code
)

Implementation

static GeneralSyncErrorCode fromInt(int code) {
  return GeneralSyncErrorCode._valuesMap[code] ?? GeneralSyncErrorCode.unknown;
}