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