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