// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'guild_model.dart';

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

_GuildModel _$GuildModelFromJson(Map<String, dynamic> json) => _GuildModel(
  key: json['key'] as String?,
  guildsName: json['guilds_name'] as String?,
  steward: json['steward'] as bool?,
  user: json['user'] == null
      ? null
      : User.fromJson(json['user'] as Map<String, dynamic>),
);

Map<String, dynamic> _$GuildModelToJson(_GuildModel instance) =>
    <String, dynamic>{
      'key': instance.key,
      'guilds_name': instance.guildsName,
      'steward': instance.steward,
      'user': instance.user,
    };

_User _$UserFromJson(Map<String, dynamic> json) => _User(
  fullname: json['fullname'] as String?,
  mobile: json['mobile'] as String?,
  city: json['city'] as String?,
);

Map<String, dynamic> _$UserToJson(_User instance) => <String, dynamic>{
  'fullname': instance.fullname,
  'mobile': instance.mobile,
  'city': instance.city,
};
