toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.schemaVersion != null) {
json[r'schema_version'] = this.schemaVersion;
} else {
json[r'schema_version'] = null;
}
if (this.original != null) {
json[r'original'] = this.original;
} else {
json[r'original'] = null;
}
if (this.modified != null) {
json[r'modified'] = this.modified;
} else {
json[r'modified'] = null;
}
if (this.matchedRule != null) {
json[r'matched_rule'] = this.matchedRule;
} else {
json[r'matched_rule'] = null;
}
if (this.rulesEvaluated != null) {
json[r'rules_evaluated'] = this.rulesEvaluated;
} else {
json[r'rules_evaluated'] = null;
}
return json;
}