Reference constructor
Constructs a new Reference from a JsonObject
.
Implementation
Reference({
String? reference,
String? type,
String? identifier,
String? display,
}) : this.fromJson(
JsonObject({
if (reference != null) 'reference': JsonString(reference),
if (type != null) 'type': JsonString(type),
if (identifier != null) 'identifier': JsonString(identifier),
if (display != null) 'display': JsonString(display),
}),
);