Tag constructor

Tag({
  1. String? code,
  2. Uri? system,
})

Constructs a new Tag

Implementation

Tag({
  String? code,
  Uri? system,
}) : this.fromJson(
        JsonObject({
          if (code != null) codeField.name: JsonString(code),
          if (system != null) systemField.name: JsonString(system.toString()),
        }),
      );