// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'hydration.dart';

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

_$HydrationImpl _$$HydrationImplFromJson(Map<String, dynamic> json) =>
    _$HydrationImpl(
      widgetType: json['widgetType'] as String,
      name: json['name'] as String,
      button1Amount: (json['button1Amount'] as num).toInt(),
      button2Amount: (json['button2Amount'] as num).toInt(),
      goal: (json['goal'] as num).toInt(),
      current: (json['current'] as num).toInt(),
      isExpanded: json['isExpanded'] as bool,
      isVisible: json['isVisible'] as bool,
      createdOn: json['createdOn'] as String,
      completedOn: json['completedOn'] as String,
      id: (json['id'] as num?)?.toInt() ?? -1,
    );

Map<String, dynamic> _$$HydrationImplToJson(_$HydrationImpl instance) =>
    <String, dynamic>{
      'widgetType': instance.widgetType,
      'name': instance.name,
      'button1Amount': instance.button1Amount,
      'button2Amount': instance.button2Amount,
      'goal': instance.goal,
      'current': instance.current,
      'isExpanded': instance.isExpanded,
      'isVisible': instance.isVisible,
      'createdOn': instance.createdOn,
      'completedOn': instance.completedOn,
      'id': instance.id,
    };
