toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (term != null) {
    _json[r'term'] = term;
  }
  _json[r'team_ids'] = teamIds;
  if (public != null) {
    _json[r'public'] = public;
  }
  if (private != null) {
    _json[r'private'] = private;
  }
  if (deleted != null) {
    _json[r'deleted'] = deleted;
  }
  return _json;
}