toFollowingView function

FollowingView toFollowingView(
  1. int? index
)

Implementation

FollowingView toFollowingView(int? index) {
  switch (index) {
    case 0:
      return FollowingView.followers;
    case 1:
      return FollowingView.following;
  }
  return FollowingView.unknown;
}