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