// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'monetization_state.dart';

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

_$MonetizationStateImpl _$$MonetizationStateImplFromJson(
  Map<String, dynamic> json,
) => _$MonetizationStateImpl(
  adRemovalPurchased: json['adRemovalPurchased'] as bool? ?? false,
  rollsRemaining: (json['rollsRemaining'] as num?)?.toInt() ?? 5,
  undoRemaining: (json['undoRemaining'] as num?)?.toInt() ?? 1,
  rollHistory: _statsListFromJson(json['rollHistory'] as List?),
  autoReviveEndMs: (json['autoReviveEndMs'] as num?)?.toInt(),
  speedBoostEndMs: (json['speedBoostEndMs'] as num?)?.toInt(),
  lastPlayTime: _dateTimeFromJson((json['lastPlayTime'] as num?)?.toInt()),
  pendingChests: (json['pendingChests'] as num?)?.toInt() ?? 0,
  luckyCharmEndMs: (json['luckyCharmEndMs'] as num?)?.toInt(),
);

Map<String, dynamic> _$$MonetizationStateImplToJson(
  _$MonetizationStateImpl instance,
) => <String, dynamic>{
  'adRemovalPurchased': instance.adRemovalPurchased,
  'rollsRemaining': instance.rollsRemaining,
  'undoRemaining': instance.undoRemaining,
  'rollHistory': _statsListToJson(instance.rollHistory),
  'autoReviveEndMs': instance.autoReviveEndMs,
  'speedBoostEndMs': instance.speedBoostEndMs,
  'lastPlayTime': _dateTimeToJson(instance.lastPlayTime),
  'pendingChests': instance.pendingChests,
  'luckyCharmEndMs': instance.luckyCharmEndMs,
};
