core.Map<core.String, core.dynamic> toJson() => { if (termsOfServiceAgreementState != null) 'termsOfServiceAgreementState': termsOfServiceAgreementState!, };