toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.contested != null) {
    json[r'contested'] = this.contested;
  } else {
    json[r'contested'] = null;
  }
  if (this.events != null) {
    json[r'events'] = this.events;
  } else {
    json[r'events'] = null;
  }
  if (this.explore != null) {
    json[r'explore'] = this.explore;
  } else {
    json[r'explore'] = null;
  }
  if (this.facts != null) {
    json[r'facts'] = this.facts;
  } else {
    json[r'facts'] = null;
  }
  if (this.from != null) {
    json[r'from'] = this.from;
  } else {
    json[r'from'] = null;
  }
  if (this.horizon != null) {
    json[r'horizon'] = this.horizon;
  } else {
    json[r'horizon'] = null;
  }
  if (this.judged != null) {
    json[r'judged'] = this.judged;
  } else {
    json[r'judged'] = null;
  }
  if (this.matured != null) {
    json[r'matured'] = this.matured;
  } else {
    json[r'matured'] = null;
  }
  if (this.pending != null) {
    json[r'pending'] = this.pending;
  } else {
    json[r'pending'] = null;
  }
  if (this.productive != null) {
    json[r'productive'] = this.productive;
  } else {
    json[r'productive'] = null;
  }
    json[r'sources'] = this.sources;
  if (this.to != null) {
    json[r'to'] = this.to;
  } else {
    json[r'to'] = null;
  }
  if (this.unlabelled != null) {
    json[r'unlabelled'] = this.unlabelled;
  } else {
    json[r'unlabelled'] = null;
  }
  if (this.unmatured != null) {
    json[r'unmatured'] = this.unmatured;
  } else {
    json[r'unmatured'] = null;
  }
  if (this.unproductive != null) {
    json[r'unproductive'] = this.unproductive;
  } else {
    json[r'unproductive'] = null;
  }
  return json;
}