Issue class

A single issue associated with the action.

Constructors

Issue({String? severity, String? code, String? diagnostics})
Constructs a new Issue with an optional severity, code, and diagnostics.
Issue.fromJson(JsonObject _json)
Constructs a new Issue instance from the provided JSON object.

Properties

code String?
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.
no setter
diagnostics String?
Additional diagnostic information about the issue.
no setter
hashCode int
The hash code for this object.
no setteroverride
json → JsonObject
Converts this Issue instance to a JSON object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
Indicates whether the issue indicates a variation from successful processing.
no setter

Methods

copyWith({String? severity, String? code, String? diagnostics}) Issue
Makes a deep copy of this Issue.
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

codeField → const FieldDefinition<String>
Field definition for code
diagnosticsField → const FieldDefinition<String>
Field definition for diagnostics
fieldDefinitions → const List<FieldDefinition<String>>
All field definitions for Issue
severityField → const FieldDefinition<String>
Field definition for severity