// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'analyze_choice_item.dart';

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

AnalyzeChoiceItem _$AnalyzeChoiceItemFromJson(Map<String, dynamic> json) =>
    AnalyzeChoiceItem(
      json['delta'] == null
          ? null
          : AnalyzeChoiceItemDelta.fromJson(
            json['delta'] as Map<String, dynamic>,
          ),
      (json['index'] as num?)?.toInt(),
      json['finish_reason'] as String?,
    );

Map<String, dynamic> _$AnalyzeChoiceItemToJson(AnalyzeChoiceItem instance) =>
    <String, dynamic>{
      'delta': instance.delta,
      'index': instance.index,
      'finish_reason': instance.finishReason,
    };
