toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.month != null) {
    json[r'month'] = this.month;
  } else {
    json[r'month'] = null;
  }
  if (this.weightedDaiPct != null) {
    json[r'weighted_dai_pct'] = this.weightedDaiPct;
  } else {
    json[r'weighted_dai_pct'] = null;
  }
  if (this.basesIncluded != null) {
    json[r'bases_included'] = this.basesIncluded;
  } else {
    json[r'bases_included'] = null;
  }
  return json;
}