toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'variable_name'] = this.variableName;
  if (this.dataSet != null) {
    json[r'data_set'] = this.dataSet;
  } else {
    json[r'data_set'] = null;
  }
    json[r'number_of_data_points'] = this.numberOfDataPoints;
  return json;
}