toJson method

Map<String, dynamic> toJson()

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,
  };
}