toJson method
Implementation
Map<String, dynamic> toJson() {
final flowDefinitionArn = this.flowDefinitionArn;
final humanLoopName = this.humanLoopName;
final dataAttributes = this.dataAttributes;
return {
'FlowDefinitionArn': flowDefinitionArn,
'HumanLoopName': humanLoopName,
if (dataAttributes != null) 'DataAttributes': dataAttributes,
};
}