// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'task_operation_form.dart';

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

TaskOperationFormModel _$TaskOperationFormModelFromJson(
    Map<String, dynamic> json) {
  return TaskOperationFormModel(
    id: json['id'] as String?,
    type: json['type'] as String?,
    exPlatformId: json['exPlatformId'] as String?,
    relationType: json['relationType'] as String?,
    relationName: json['relationName'] as String?,
    relationParentId: json['relationParentId'] as String?,
    nodeSequenceNumber: json['nodeSequenceNumber'] as num?,
    status: json['status'] as String?,
    isRelationQrCode: json['isRelationQrCode'] as bool?,
    executableNode: (json['executableNode'] as List<dynamic>?)
        ?.map((e) => ExecutableNodeOfTaskOperationFormModel.fromJson(e))
        .toList(),
    formData: json['formData'] as String?,
    nodeData: json['nodeData'] == null
        ? null
        : NodeDataOfTaskOperationFormModel.fromJson(json['nodeData']),
    relationId: json['relationId'] as String?,
    read: json['read'] as bool?,
    exPlatformName: json['exPlatformName'] as String?,
  );
}

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

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

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