fromRawValue static method
Creates a PlaywireAdErrorCode from a raw integer value.
Defaults to PlaywireAdErrorCode.unknown if the value is not recognized.
Implementation
static PlaywireAdErrorCode fromRawValue(int value) {
return PlaywireAdErrorCode.values.firstWhere(
(code) => code.rawValue == value,
orElse: () => PlaywireAdErrorCode.unknown,
);
}