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