from method
Implementation
OverseerrRequestStatus? from(int? type) {
switch (type) {
case 1:
return OverseerrRequestStatus.PENDING;
case 2:
return OverseerrRequestStatus.APPROVED;
case 3:
return OverseerrRequestStatus.DECLINED;
default:
return null;
}
}