OutcomeResponse class

Interprets a result so that humans and machines can act on it.

Constructors

OutcomeResponse({required Input<FailureDetailResponse> failureDetail, required Input<InconclusiveDetailResponse> inconclusiveDetail, required Input<SkippedDetailResponse> skippedDetail, required Input<SuccessDetailResponse> successDetail, required Input<String> summary})
Creates a new OutcomeResponse. failureDetail More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional inconclusiveDetail More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional skippedDetail More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional successDetail More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional summary The simplest way to interpret a result. Required
const
OutcomeResponse.fromMap(Map<String, dynamic> map)
factory

Properties

failureDetail → Input<FailureDetailResponse>
More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional
final
hashCode → int
The hash code for this object.
no setterinherited
inconclusiveDetail → Input<InconclusiveDetailResponse>
More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skippedDetail → Input<SkippedDetailResponse>
More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional
final
successDetail → Input<SuccessDetailResponse>
More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional
final
summary → Input<String>
The simplest way to interpret a result. Required
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited