toJson method

Map<String, dynamic> toJson()

Implementation

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