toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (teamId != null) {
    _json[r'team_id'] = teamId;
  }
  if (groupId != null) {
    _json[r'group_id'] = groupId;
  }
  if (autoAdd != null) {
    _json[r'auto_add'] = autoAdd;
  }
  if (createAt != null) {
    _json[r'create_at'] = createAt;
  }
  if (deleteAt != null) {
    _json[r'delete_at'] = deleteAt;
  }
  if (updateAt != null) {
    _json[r'update_at'] = updateAt;
  }
  return _json;
}