toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'term'] = term;
if (notAssociatedToGroup != null) {
_json[r'not_associated_to_group'] = notAssociatedToGroup;
}
if (excludeDefaultChannels != null) {
_json[r'exclude_default_channels'] = excludeDefaultChannels;
}
_json[r'team_ids'] = teamIds;
if (groupConstrained != null) {
_json[r'group_constrained'] = groupConstrained;
}
if (excludeGroupConstrained != null) {
_json[r'exclude_group_constrained'] = excludeGroupConstrained;
}
if (public != null) {
_json[r'public'] = public;
}
if (private != null) {
_json[r'private'] = private;
}
if (deleted != null) {
_json[r'deleted'] = deleted;
}
if (page != null) {
_json[r'page'] = page;
}
if (perPage != null) {
_json[r'per_page'] = perPage;
}
_json[r'exclude_policy_constrained'] = excludePolicyConstrained;
return _json;
}