toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (teamId != null) {
    _json[r'team_id'] = teamId;
  }
  if (postDuration != null) {
    _json[r'post_duration'] = postDuration;
  }
  return _json;
}