// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'task_operation_detail.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

TaskOperationDetail _$TaskOperationDetailFromJson(Map<String, dynamic> json) {
  return TaskOperationDetail(
    id: json['id'] as String?,
    exPlatformId: json['exPlatformId'] as String?,
    type: json['type'] as String?,
    relationType: json['relationType'] as String?,
    relationId: json['relationId'] as String?,
    relationName: json['relationName'] as String?,
    relationParentId: json['relationParentId'] as String?,
    isRelationQrCode: json['isRelationQrCode'] as bool?,
    status: json['status'] as String?,
    nodeSequenceNumber: json['nodeSequenceNumber'] as num?,
    formData: (json['formData'] as List<dynamic>?)
        ?.map((e) => FormDataOfTaskOperationDetailModel.fromJson(e))
        .toList(),
    executableNode: (json['executableNode'] as List<dynamic>?)
        ?.map((e) => ExecutableNodeOfTaskOperationDetailModel.fromJson(e))
        .toList(),
    nodeData: (json['nodeData'] as List<dynamic>?)
        ?.map((e) => NodeDataOfTaskOperationDetailModel.fromJson(e))
        .toList(),
  );
}

Map<String, dynamic> _$TaskOperationDetailToJson(
        TaskOperationDetail instance) =>
    <String, dynamic>{
      'id': instance.id,
      'exPlatformId': instance.exPlatformId,
      'type': instance.type,
      'relationType': instance.relationType,
      'relationId': instance.relationId,
      'relationName': instance.relationName,
      'relationParentId': instance.relationParentId,
      'isRelationQrCode': instance.isRelationQrCode,
      'status': instance.status,
      'nodeSequenceNumber': instance.nodeSequenceNumber,
      'formData': instance.formData,
      'executableNode': instance.executableNode,
      'nodeData': instance.nodeData,
    };

ExecutableNodeOfTaskOperationDetailModel
    _$ExecutableNodeOfTaskOperationDetailModelFromJson(
        Map<String, dynamic> json) {
  return ExecutableNodeOfTaskOperationDetailModel(
    id: json['id'] as String?,
    exPlatformId: json['exPlatformId'] as String?,
    relationType: json['relationType'] as String?,
    relationId: json['relationId'] as String?,
    nodeSequenceNumber: json['nodeSequenceNumber'] as num?,
    relationName: json['relationName'] as String?,
  );
}

Map<String, dynamic> _$ExecutableNodeOfTaskOperationDetailModelToJson(
        ExecutableNodeOfTaskOperationDetailModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'exPlatformId': instance.exPlatformId,
      'relationType': instance.relationType,
      'relationId': instance.relationId,
      'nodeSequenceNumber': instance.nodeSequenceNumber,
      'relationName': instance.relationName,
    };
