toFollowRequestStatus function

FollowRequestStatus toFollowRequestStatus(
  1. int? index
)

Implementation

FollowRequestStatus toFollowRequestStatus(int? index) {
  switch (index) {
    case 0:
      return FollowRequestStatus.followRequestPending;
    case 1:
      return FollowRequestStatus.followRequestAccepted;
    case 2:
      return FollowRequestStatus.followRequestDenied;
  }
  return FollowRequestStatus.unknown;
}