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