OperationOutcome<T> class

A collection of error, warning, or information messages that result from a system action.

Inheritance
Implemented types
Available extensions

Constructors

OperationOutcome({String? id, Meta? meta, Narrative? text, FixedList<Issue>? issue})
Constructs a new OperationOutcome.
OperationOutcome.error({required NarrativeStatus status, required String details})
OperationOutcome.fromJson(JsonObject json)
Creates an OperationOutcome instance from the provided JSON object.

Properties

hashCode int
The hash code for this object.
no setteroverride
id String?
The id of the resource
no setterinherited
issue FixedList<Issue>?
A single issue associated with the action.
no setter
json → JsonObject
finalinherited
meta Meta?
The metadata of the resource
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text Narrative?
A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human.
no setter

Methods

copyWith({String? id, Meta? meta, Narrative? text, FixedList<Issue>? issue}) OperationOutcome<T>
Creates a copy of the OperationOutcome instance and allows for non-destructive mutation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for OperationOutcome.
issueField → const FieldDefinition<FixedList<Issue>>
Field definition for issue.
textField → const FieldDefinition<Narrative>
Field definition for text.