from method

OverseerrRequestStatus? from(
  1. int? type
)

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;
  }
}