// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'item_stats.dart';

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

_$ItemStatsImpl _$$ItemStatsImplFromJson(Map<String, dynamic> json) =>
    _$ItemStatsImpl(
      atk: (json['atk'] as num?)?.toInt() ?? 0,
      def: (json['def'] as num?)?.toInt() ?? 0,
      magAtk: (json['magAtk'] as num?)?.toInt() ?? 0,
      magDef: (json['magDef'] as num?)?.toInt() ?? 0,
      criRate: (json['criRate'] as num?)?.toDouble() ?? 0.0,
      evasion: (json['evasion'] as num?)?.toDouble() ?? 0.0,
      blockRate: (json['blockRate'] as num?)?.toDouble() ?? 0.0,
      parryRate: (json['parryRate'] as num?)?.toDouble() ?? 0.0,
      hpBonus: (json['hpBonus'] as num?)?.toInt() ?? 0,
      mpBonus: (json['mpBonus'] as num?)?.toInt() ?? 0,
      strBonus: (json['strBonus'] as num?)?.toInt() ?? 0,
      conBonus: (json['conBonus'] as num?)?.toInt() ?? 0,
      dexBonus: (json['dexBonus'] as num?)?.toInt() ?? 0,
      intBonus: (json['intBonus'] as num?)?.toInt() ?? 0,
      wisBonus: (json['wisBonus'] as num?)?.toInt() ?? 0,
      chaBonus: (json['chaBonus'] as num?)?.toInt() ?? 0,
      attackSpeed: (json['attackSpeed'] as num?)?.toInt() ?? 0,
    );

Map<String, dynamic> _$$ItemStatsImplToJson(_$ItemStatsImpl instance) =>
    <String, dynamic>{
      'atk': instance.atk,
      'def': instance.def,
      'magAtk': instance.magAtk,
      'magDef': instance.magDef,
      'criRate': instance.criRate,
      'evasion': instance.evasion,
      'blockRate': instance.blockRate,
      'parryRate': instance.parryRate,
      'hpBonus': instance.hpBonus,
      'mpBonus': instance.mpBonus,
      'strBonus': instance.strBonus,
      'conBonus': instance.conBonus,
      'dexBonus': instance.dexBonus,
      'intBonus': instance.intBonus,
      'wisBonus': instance.wisBonus,
      'chaBonus': instance.chaBonus,
      'attackSpeed': instance.attackSpeed,
    };
