getFansNumber method
void
getFansNumber()
Implementation
void getFansNumber() async {
final result = await friendshipManager
.getUserFollowInfo(userIDList: [state.ownerId.value]);
const success = 0;
if (result.code == success &&
result.data != null &&
result.data!.firstOrNull != null) {
final V2TimFollowInfo followInfo = result.data!.first;
state.fansNumber.value = followInfo.followersCount ?? 0;
}
}