code property

String? get code

Describes the type of the issue. The system that creates an OperationOutcome SHALL choose the most applicable code from the IssueType value set, and may additional provide its own code for the error in the details element.

Implementation

String? get code => codeField.getValue(_json);