toJson method
Implementation
Map<String, dynamic> toJson() {
final experimentName = this.experimentName;
final trialComponentDisplayName = this.trialComponentDisplayName;
final trialName = this.trialName;
return {
if (experimentName != null) 'ExperimentName': experimentName,
if (trialComponentDisplayName != null)
'TrialComponentDisplayName': trialComponentDisplayName,
if (trialName != null) 'TrialName': trialName,
};
}