Entry constructor
Creates a new Entry instance.
Implementation
Entry({
Uri? fullUrl,
Resource? resource,
Search? search,
}) : this.fromJson(
JsonObject({
if (fullUrl != null)
fullUrlField.name: JsonString(fullUrl.toString()),
if (resource != null) resourceField.name: resource.json,
if (search != null) searchField.name: search.json,
}),
);