fromInt static method

SyncConnectionErrorCode fromInt(
  1. int code
)

Implementation

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