FollowCommunity constructor
- @JsonSerializable.new(includeIfNull: false)
Implementation
@JsonSerializable(includeIfNull: false)
const factory FollowCommunity({
/// The community to follow/unfollow.
@JsonKey(name: 'community_id') required int communityId,
/// True to follow, false to unfollow.
required bool follow,
/// Auth token.
required String auth,
}) = _FollowCommunity;