fromInt static method

SyncResolveErrorCode fromInt(
  1. int code
)

Implementation

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