toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'variable_name'] = this.variableName;
if (this.predictedData != null) {
json[r'predicted_data'] = this.predictedData;
} else {
json[r'predicted_data'] = null;
}
json[r'narrative'] = this.narrative;
return json;
}