toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.created != null) {
json[r'created'] = this.created;
} else {
json[r'created'] = null;
}
if (this.displayName != null) {
json[r'displayName'] = this.displayName;
} else {
json[r'displayName'] = null;
}
if (this.flowId != null) {
json[r'flowId'] = this.flowId;
} else {
json[r'flowId'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.schemaVersion != null) {
json[r'schemaVersion'] = this.schemaVersion;
} else {
json[r'schemaVersion'] = null;
}
if (this.state != null) {
json[r'state'] = this.state;
} else {
json[r'state'] = null;
}
if (this.trigger != null) {
json[r'trigger'] = this.trigger;
} else {
json[r'trigger'] = null;
}
if (this.updated != null) {
json[r'updated'] = this.updated;
} else {
json[r'updated'] = null;
}
if (this.valid != null) {
json[r'valid'] = this.valid;
} else {
json[r'valid'] = null;
}
return json;
}