// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'task_operation_node_list.dart';

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

TaskOperationNodeList _$TaskOperationNodeListFromJson(
    Map<String, dynamic> json) {
  return TaskOperationNodeList(
    nodeCount: json['nodeCount'] as int?,
    list: (json['list'] as List<dynamic>?)
        ?.map((e) => TaskNodeList.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}

Map<String, dynamic> _$TaskOperationNodeListToJson(
        TaskOperationNodeList instance) =>
    <String, dynamic>{
      'list': instance.list,
      'nodeCount': instance.nodeCount,
    };

TaskNodeList _$TaskNodeListFromJson(Map<String, dynamic> json) {
  return TaskNodeList(
    communityId: json['communityId'] as String?,
    communityName: json['communityName'] as String?,
    list: (json['list'] as List<dynamic>?)
        ?.map((e) =>
            TaskOperationNodeListItemList.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}

Map<String, dynamic> _$TaskNodeListToJson(TaskNodeList instance) =>
    <String, dynamic>{
      'communityId': instance.communityId,
      'communityName': instance.communityName,
      'list': instance.list,
    };

TaskOperationNodeListItemList _$TaskOperationNodeListItemListFromJson(
    Map<String, dynamic> json) {
  return TaskOperationNodeListItemList(
    id: json['id'] as String?,
    exPlatformId: json['exPlatformId'] as String?,
    relationName: json['relationName'] as String?,
    relationId: json['relationId'] as String?,
    relationType: json['relationType'] as String?,
    type: json['type'] as String?,
    parentId: json['parentId'] as String?,
    status: json['status'] as String?,
    nodeSequenceNumber: json['nodeSequenceNumber'] as num?,
    nodeData: json['nodeData'],
    executable: json['executable'] as bool?,
  );
}

Map<String, dynamic> _$TaskOperationNodeListItemListToJson(
        TaskOperationNodeListItemList instance) =>
    <String, dynamic>{
      'id': instance.id,
      'exPlatformId': instance.exPlatformId,
      'relationName': instance.relationName,
      'relationId': instance.relationId,
      'relationType': instance.relationType,
      'type': instance.type,
      'parentId': instance.parentId,
      'status': instance.status,
      'nodeSequenceNumber': instance.nodeSequenceNumber,
      'nodeData': instance.nodeData,
      'executable': instance.executable,
    };

NodeDataOfTaskOperationNodeListModel
    _$NodeDataOfTaskOperationNodeListModelFromJson(Map<String, dynamic> json) {
  return NodeDataOfTaskOperationNodeListModel(
    communityName: json['communityName'] as String?,
    communityAreaName: json['communityAreaName'] as String?,
    nodeChildNum: json['nodeChildNum'] as num?,
    resultAbnormal: json['resultAbnormal'] as bool?,
    updateAt: json['updateAt'] as String?,
    latitude: json['latitude'] as num?,
    longitude: json['longitude'] as num?,
  );
}

Map<String, dynamic> _$NodeDataOfTaskOperationNodeListModelToJson(
        NodeDataOfTaskOperationNodeListModel instance) =>
    <String, dynamic>{
      'communityName': instance.communityName,
      'communityAreaName': instance.communityAreaName,
      'nodeChildNum': instance.nodeChildNum,
      'resultAbnormal': instance.resultAbnormal,
      'updateAt': instance.updateAt,
      'latitude': instance.latitude,
      'longitude': instance.longitude,
    };
