toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (approvalConfig != null) 'approvalConfig': approvalConfig!,
      if (audit != null) 'audit': audit!,
      if (createTime != null) 'createTime': createTime!,
      if (eventExecutionInfoId != null)
        'eventExecutionInfoId': eventExecutionInfoId!,
      if (integration != null) 'integration': integration!,
      if (lastModifyTime != null) 'lastModifyTime': lastModifyTime!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (suspensionConfig != null) 'suspensionConfig': suspensionConfig!,
      if (taskId != null) 'taskId': taskId!,
    };