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