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