fromCode static method
Implementation
static RecordingErrorCode fromCode(int code) {
if (code < 100 || code >= 100 + values.length) {
throw StateError('Unknown AimuxRecordingErrorCode: $code');
}
return values[code - 100];
}
static RecordingErrorCode fromCode(int code) {
if (code < 100 || code >= 100 + values.length) {
throw StateError('Unknown AimuxRecordingErrorCode: $code');
}
return values[code - 100];
}