toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
json[r'type'] = this.type;
json[r'condition'] = this.condition;
json[r'action'] = this.action;
if (this.sequence != null) {
json[r'sequence'] = this.sequence;
} else {
json[r'sequence'] = null;
}
if (this.isEnabled != null) {
json[r'is_enabled'] = this.isEnabled;
} else {
json[r'is_enabled'] = null;
}
return json;
}