// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'user.dart';

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

GuruUser _$GuruUserFromJson(Map<String, dynamic> json) => GuruUser(
      uid: json['uid'] as String? ?? '',
      token: json['token'] as String? ?? '',
      firebaseToken: json['firebaseToken'] as String? ?? '',
      createAtTimestamp: json['createdAtTimestamp'] as int? ?? 0,
    );

Map<String, dynamic> _$GuruUserToJson(GuruUser instance) => <String, dynamic>{
      'uid': instance.uid,
      'token': instance.token,
      'firebaseToken': instance.firebaseToken,
      'createdAtTimestamp': instance.createAtTimestamp,
    };

AnonymousLoginReqBody _$AnonymousLoginReqBodyFromJson(
        Map<String, dynamic> json) =>
    AnonymousLoginReqBody(
      secret: json['secret'] as String? ?? '',
    );

Map<String, dynamic> _$AnonymousLoginReqBodyToJson(
        AnonymousLoginReqBody instance) =>
    <String, dynamic>{
      'secret': instance.secret,
    };

FacebookLoginReqBody _$FacebookLoginReqBodyFromJson(
        Map<String, dynamic> json) =>
    FacebookLoginReqBody(
      accessToken: json['accessToken'] as String? ?? '',
    );

Map<String, dynamic> _$FacebookLoginReqBodyToJson(
        FacebookLoginReqBody instance) =>
    <String, dynamic>{
      'accessToken': instance.accessToken,
    };

GoogleLoginReqBody _$GoogleLoginReqBodyFromJson(Map<String, dynamic> json) =>
    GoogleLoginReqBody(
      idToken: json['idToken'] as String? ?? '',
    );

Map<String, dynamic> _$GoogleLoginReqBodyToJson(GoogleLoginReqBody instance) =>
    <String, dynamic>{
      'idToken': instance.idToken,
    };

AppleLoginReqBody _$AppleLoginReqBodyFromJson(Map<String, dynamic> json) =>
    AppleLoginReqBody(
      token: json['token'] as String? ?? '',
      clientType: json['clientType'] as String? ?? 'ios',
    );

Map<String, dynamic> _$AppleLoginReqBodyToJson(AppleLoginReqBody instance) =>
    <String, dynamic>{
      'token': instance.token,
      'clientType': instance.clientType,
    };

FirebaseTokenData _$FirebaseTokenDataFromJson(Map<String, dynamic> json) =>
    FirebaseTokenData(
      uid: json['uid'] as String? ?? '',
      firebaseToken: json['firebaseToken'] as String? ?? '',
    );

Map<String, dynamic> _$FirebaseTokenDataToJson(FirebaseTokenData instance) =>
    <String, dynamic>{
      'uid': instance.uid,
      'firebaseToken': instance.firebaseToken,
    };

UserAuthInfo _$UserAuthInfoFromJson(Map<String, dynamic> json) => UserAuthInfo(
      secret: json['secret'] as String? ?? '',
      providerList: (json['providerList'] as List<dynamic>?)
              ?.map((e) => e as String)
              .toList() ??
          [],
    );

Map<String, dynamic> _$UserAuthInfoToJson(UserAuthInfo instance) =>
    <String, dynamic>{
      'secret': instance.secret,
      'providerList': instance.providerList,
    };

UnbindReqBody _$UnbindReqBodyFromJson(Map<String, dynamic> json) =>
    UnbindReqBody(
      provider: json['provider'] as String? ?? '',
    );

Map<String, dynamic> _$UnbindReqBodyToJson(UnbindReqBody instance) =>
    <String, dynamic>{
      'provider': instance.provider,
    };
