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