HITLayoutParameter class

The HITLayoutParameter data structure defines parameter values used with a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template used to provide Human Intelligence Task (HIT) question data for CreateHIT.

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

Constructors

HITLayoutParameter({@required String name, @required String value})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String
The name of the parameter in the HITLayout.
@JsonKey(name: 'Name'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
The value substituted for the parameter referenced in the HITLayout.
@JsonKey(name: 'Value'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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