toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.facts != null) {
    json[r'facts'] = this.facts;
  } else {
    json[r'facts'] = null;
  }
  if (this.source_ != null) {
    json[r'source'] = this.source_;
  } else {
    json[r'source'] = null;
  }
  if (this.won != null) {
    json[r'won'] = this.won;
  } else {
    json[r'won'] = null;
  }
  return json;
}