ReviewResultDetail class

This data structure is returned multiple times for each result specified in the Review Policy.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)

Constructors

ReviewResultDetail({String actionId, String key, String questionId, String subjectId, String subjectType, String value})
ReviewResultDetail.fromJson(Map<String, dynamic> json)
factory

Properties

actionId String
A unique identifier of the Review action result.
@JsonKey(name: 'ActionId'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
key String
Key identifies the particular piece of reviewed information.
@JsonKey(name: 'Key'), final
questionId String
Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.
@JsonKey(name: 'QuestionId'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subjectId String
The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.
@JsonKey(name: 'SubjectId'), final
subjectType String
The type of the object from the SubjectId field.
@JsonKey(name: 'SubjectType'), final
value String
The values of Key provided by the review policies you have selected.
@JsonKey(name: 'Value'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited