setListStatus method

dynamic setListStatus(
  1. bool isFollowing,
  2. bool value
)

Implementation

setListStatus(bool isFollowing, bool value) {
  if (!isFollowing) {
    connectionslistStatus.isFollowersPrivate = value;
  } else {
    connectionslistStatus.isFollowingPrivate = value;
  }
}