ReviewPolicy class

HIT Review Policy data structures represent HIT review policies, which you specify when you create a HIT.

Constructors

ReviewPolicy({required String policyName, List<PolicyParameter>? parameters})
ReviewPolicy.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
parameters List<PolicyParameter>?
Name of the parameter from the Review policy.
final
policyName String
Name of a Review Policy: SimplePlurality/2011-09-01 or ScoreMyKnownAnswers/2011-09-01
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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