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.
failureDetailMore information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. OptionalinconclusiveDetailMore information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. OptionalskippedDetailMore information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. OptionalsuccessDetailMore information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. OptionalsummaryThe simplest way to interpret a result. Requiredconst -
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