// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'task_operation_node_detail.dart';

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

TaskOperationNodeDetail _$TaskOperationNodeDetailFromJson(
    Map<String, dynamic> json) {
  return TaskOperationNodeDetail(
    id: json['id'] as String?,
    relationName: json['relationName'] as String?,
    resultAbnormal: json['resultAbnormal'] as bool?,
    createdAt: json['createdAt'] as String?,
    status: json['status'] as String?,
    longitude: (json['longitude'] as num?)?.toDouble(),
    latitude: (json['latitude'] as num?)?.toDouble(),
    list: (json['list'] as List<dynamic>?)
        ?.map((e) => DetailStandard.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}

Map<String, dynamic> _$TaskOperationNodeDetailToJson(
        TaskOperationNodeDetail instance) =>
    <String, dynamic>{
      'id': instance.id,
      'relationName': instance.relationName,
      'resultAbnormal': instance.resultAbnormal,
      'createdAt': instance.createdAt,
      'status': instance.status,
      'longitude': instance.longitude,
      'latitude': instance.latitude,
      'list': instance.list,
    };

DetailStandard _$DetailStandardFromJson(Map<String, dynamic> json) {
  return DetailStandard(
    id: json['id'] as String?,
    status: json['status'] as String?,
    operationRecordAnswerId: json['operationRecordAnswerId'] as String?,
    workStandardRecord: json['workStandardRecord'],
    resultAbnormal: json['resultAbnormal'] as bool?,
    remark: json['remark'] as String?,
  );
}

Map<String, dynamic> _$DetailStandardToJson(DetailStandard instance) =>
    <String, dynamic>{
      'id': instance.id,
      'status': instance.status,
      'operationRecordAnswerId': instance.operationRecordAnswerId,
      'workStandardRecord': instance.workStandardRecord,
      'resultAbnormal': instance.resultAbnormal,
      'remark': instance.remark,
    };
