RoleData class

Expected participant data for all participants with a specific roleName.

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

Constructors

RoleData({required String roleName, Map<String, Data?> data = const {}})
RoleData.fromJson(Map<String, dynamic> json)
factory

Properties

data Map<String, Data?>
Data that is related to this role in the study deployment.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
roleName String
getter/setter pair
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