// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'create_poll_params.dart';

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

CreatePollParams _$CreatePollParamsFromJson(Map<String, dynamic> json) =>
    CreatePollParams(
      question: json['question'] as String,
      options: (json['options'] as List<dynamic>)
          .map((e) => e as String)
          .toList(),
      resultMode: (json['resultMode'] as num).toInt(),
      maxVotes: (json['maxVotes'] as num).toInt(),
    );

Map<String, dynamic> _$CreatePollParamsToJson(CreatePollParams instance) =>
    <String, dynamic>{
      'question': instance.question,
      'options': instance.options,
      'resultMode': instance.resultMode,
      'maxVotes': instance.maxVotes,
    };
