// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'mine_data_model.dart';

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

MineDataModel _$MineDataModelFromJson(Map<String, dynamic> json) {
  return MineDataModel(
    json['accumulated_earnings_name_color'] as String,
    json['accumulated_earnings_color'] as String,
    json['accumulated_earnings_bg_img'] as String,
    json['btn_text'] as String,
    json['btn_text_color'] as String,
    json['btn_img'] as String,
    json['required_login'] as String,
    json['required_taobao_auth'] as String,
    json['skip_identifier'] as String,
    json['grid_view_bg_color'] as String,
    json['grid_view_name_color'] as String,
    json['grid_view_value_color'] as String,
    (json['grid_view'] as List)
        ?.map((e) => e == null
            ? null
            : MineProfileDataModel.fromJson(e as Map<String, dynamic>))
        ?.toList(),
  );
}

Map<String, dynamic> _$MineDataModelToJson(MineDataModel instance) =>
    <String, dynamic>{
      'accumulated_earnings_name_color': instance.accumulatedEarningsNameColor,
      'accumulated_earnings_color': instance.accumulatedEarningsColor,
      'accumulated_earnings_bg_img': instance.accumulatedEarningsBgImg,
      'btn_text': instance.btnText,
      'btn_text_color': instance.btnTextColor,
      'btn_img': instance.btnImg,
      'required_login': instance.requiredLogin,
      'required_taobao_auth': instance.requiredTaobaoAuth,
      'skip_identifier': instance.skipIdentifier,
      'grid_view_bg_color': instance.gridViewBgColor,
      'grid_view_name_color': instance.gridViewNameColor,
      'grid_view_value_color': instance.gridViewValueColor,
      'grid_view': instance.datas,
    };
