ParticipantAttribute class

Describes expected data to be input by users related to one or multiple participants in a study.

inputDataType is one of the InputType names, e.g. InputType.SEX.

Inheritance
  • Object
  • Serializable
  • ParticipantAttribute
Annotations
  • @JsonSerializable.new(includeIfNull: false, explicitToJson: true)

Constructors

ParticipantAttribute({required String inputDataType})
ParticipantAttribute.fromJson(Map<String, dynamic> json)
factory

Properties

$type ↔ String?
The type name written to __type in JSON; set to jsonType on creation.
getter/setter pairinherited
fromJsonFunction → Function
The generated function that converts a JSON map to an object of this type.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
inputDataType ↔ String
Uniquely identifies the type of data represented by this participant attribute.
getter/setter pair
jsonType → String
The __type used for JSON serialization of this class.
no setteroverride
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>
Returns a JSON map of this object, including the __type property.
override
toString() → String
A string representation of this object.
inherited

Operators

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