fromInt static method

SyncErrorCode fromInt(
  1. int code
)

Implementation

static SyncErrorCode fromInt(int code) {
  return SyncErrorCode._valuesMap[code] ?? SyncErrorCode.runtimeError;
}