// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'mine_quick_model.dart';

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

MineQuickModel _$MineQuickModelFromJson(Map<String, dynamic> json) {
  return MineQuickModel(
    json['my_functions_text'] as String,
    json['my_functions_text_color'] as String,
    json['layout'] as String,
    json['functions_bg_color'] as String,
    (json['functions_list'] as List)
        ?.map((e) => e == null
            ? null
            : MineQuickItemModel.fromJson(e as Map<String, dynamic>))
        ?.toList(),
  );
}

Map<String, dynamic> _$MineQuickModelToJson(MineQuickModel instance) =>
    <String, dynamic>{
      'my_functions_text': instance.title,
      'my_functions_text_color': instance.titleColor,
      'layout': instance.layout,
      'functions_bg_color': instance.myFunctionsBgColor,
      'functions_list': instance.items,
    };

MineQuickItemModel _$MineQuickItemModelFromJson(Map<String, dynamic> json) {
  return MineQuickItemModel(
    json['name'] as String,
    json['icon'] as String,
    json['required_login'] as String,
    json['required_taobao_auth'] as String,
    json['skip_identifier'] as String,
  )..nameColor = json['name_color'] as String;
}

Map<String, dynamic> _$MineQuickItemModelToJson(MineQuickItemModel instance) =>
    <String, dynamic>{
      'name': instance.name,
      'name_color': instance.nameColor,
      'icon': instance.icon,
      'required_login': instance.requiredLogin,
      'required_taobao_auth': instance.requiredTaobaoAuth,
      'skip_identifier': instance.skipIdentifier,
    };
