OperationOutcome<T>.error constructor

OperationOutcome<T>.error({
  1. required NarrativeStatus status,
  2. required String details,
})

Implementation

OperationOutcome.error({
  required NarrativeStatus status,
  required String details,
}) : this(
        text: Narrative(
          status: status,
          div: details,
        ),
      );