// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'model.dart';

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

FbProfile _$FbProfileFromJson(Map<String, dynamic> json) => FbProfile(
      photo: json['photo'] as String,
      name: json['name'] as String,
      id: json['id'] as String,
      contextType: json['contextType'] as String,
      userId: json['userId'] as String?,
    );

Map<String, dynamic> _$FbProfileToJson(FbProfile instance) => <String, dynamic>{
      'photo': instance.photo,
      'name': instance.name,
      'id': instance.id,
      'contextType': instance.contextType,
      'userId': instance.userId,
    };

FbShareData _$FbShareDataFromJson(Map<String, dynamic> json) => FbShareData(
      image: json['image'] as String? ??
          'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAMAAADQmBKKAAAAAXNSR0IArs4c6QAAAkxQTFRFAAAAJCQkGhoaDAwMFxcXFhYWFBQUDAwMDAwMEBAQEBAQDw8PDg4ODg4ODQ0NDQ0NDQ0NDAwMDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDAwMDAwMDAwMBwcHCAgICQkJCgoKCwsLDAwMDg4ODw8PEBAQEhISFxcXGhoaGxsbHR0dHh4eHx8fICAgISEhIyMjJCQkJSUlJiYmLCwsLS0tMDAwMjIyMzMzNjY2Nzc3ODg4QEBAQUFBRERERkZGTk5OT09PU1NTV1dXWFhYW1tbXFxcXV1dX19fYGBgYWFhZmZmaGhoaWlpbGxsbm5ucXFxcnJydXV1dnZ2eHh4enp6e3t7fHx8fX19fn5+f39/gICAgoKCg4ODhISEhYWFiYmJi4uLjIyMjY2Njo6Oj4+PkJCQkZGRk5OTlZWVl5eXmZmZmpqam5ubnZ2dnp6eoKCgoaGho6OjpKSkp6enqKioqampqqqqrKysra2trq6ur6+vsLCwsrKys7OztLS0tbW1tra2t7e3uLi4ubm5urq6u7u7vLy8vr6+v7+/wMDAwcHBwsLCxMTExcXFxsbGx8fHyMjIycnJysrKy8vLzc3Nzs7Oz8/P0NDQ0dHR0tLS09PT1NTU1dXV1t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MJkCS1jBC+J02/OipMt+JASDs/miG5v02/y8qtbZI2fLzveK1nQaENcmNs54KTJGl703s/jfgDy2GFEqgIZ8MbkkR5KWM+3pZA2ib4U5+FuWmSLgr+q6XY20opqlA/WGhh420mEtt4i781mX1K4ofF8APKsb69nWnKtANseAHlkR6RwCjFtg6RoB/dIRLEx2zQTE0BzweR8HdUC3+H2XB33A9/ByLxd2QUh4dq8Xfs2NrBNnwdzBY7SiaTR9flYp2mdwNfh/s5fPzh/zcuYJd5bFPWAAAAAElFTkSuQmCC',
      text: json['text'] as String,
      data: (json['data'] as Map<String, dynamic>?)?.map(
            (k, e) => MapEntry(k, e as String),
          ) ??
          const {},
      shareDestination: (json['shareDestination'] as List<dynamic>?)
              ?.map((e) => e as String)
              .toList() ??
          const ['NEWSFEED', 'GROUP', 'COPY_LINK', 'MESSENGER'],
      switchContext: json['switchContext'] as bool? ?? false,
    );

Map<String, dynamic> _$FbShareDataToJson(FbShareData instance) =>
    <String, dynamic>{
      'image': instance.image,
      'text': instance.text,
      'data': instance.data,
      'shareDestination': instance.shareDestination,
      'switchContext': instance.switchContext,
    };

FbInviteTextData _$FbInviteTextDataFromJson(Map<String, dynamic> json) =>
    FbInviteTextData(
      text: json['text'] as String,
      localizations: Map<String, String>.from(json['localizations'] as Map),
    );

Map<String, dynamic> _$FbInviteTextDataToJson(FbInviteTextData instance) =>
    <String, dynamic>{
      'text': instance.text,
      'localizations': instance.localizations,
    };

FbInviteData _$FbInviteDataFromJson(Map<String, dynamic> json) => FbInviteData(
      image: json['image'] as String,
      text: FbInviteTextData.fromJson(json['text'] as Map<String, dynamic>),
      cta: json['cta'] == null
          ? null
          : FbInviteTextData.fromJson(json['cta'] as Map<String, dynamic>),
      dialogTitle: json['dialogTitle'] == null
          ? null
          : FbInviteTextData.fromJson(
              json['dialogTitle'] as Map<String, dynamic>),
      filters:
          (json['filters'] as List<dynamic>?)?.map((e) => e as String).toList(),
      sections: (json['sections'] as List<dynamic>?)
          ?.map((e) => e as Map<String, dynamic>)
          .toList(),
    );

Map<String, dynamic> _$FbInviteDataToJson(FbInviteData instance) =>
    <String, dynamic>{
      'image': instance.image,
      'text': instance.text,
      'cta': instance.cta,
      'dialogTitle': instance.dialogTitle,
      'filters': instance.filters,
      'sections': instance.sections,
    };

GuruLogDeviceData _$GuruLogDeviceDataFromJson(Map<String, dynamic> json) =>
    GuruLogDeviceData(
      appId: json['appId'] as String,
      version: json['version'] as String? ?? '1.0.0',
      fbPlatform: json['fbPlatform'] as String,
    );

Map<String, dynamic> _$GuruLogDeviceDataToJson(GuruLogDeviceData instance) =>
    <String, dynamic>{
      'appId': instance.appId,
      'version': instance.version,
      'fbPlatform': instance.fbPlatform,
    };

GuruLogInfoData _$GuruLogInfoDataFromJson(Map<String, dynamic> json) =>
    GuruLogInfoData(
      deveiceId: json['deveiceId'] as String?,
      uid: json['uid'] as String?,
      adjustId: json['adjustId'] as String?,
      adId: json['adId'] as String?,
      firebaseId: json['firebaseId'] as String?,
    );

Map<String, dynamic> _$GuruLogInfoDataToJson(GuruLogInfoData instance) =>
    <String, dynamic>{
      'deveiceId': instance.deveiceId,
      'uid': instance.uid,
      'adjustId': instance.adjustId,
      'adId': instance.adId,
      'firebaseId': instance.firebaseId,
    };

InitGuruLogEventData _$InitGuruLogEventDataFromJson(
        Map<String, dynamic> json) =>
    InitGuruLogEventData(
      appId: json['appId'] as String,
      deviceInfo: GuruLogDeviceData.fromJson(
          json['deviceInfo'] as Map<String, dynamic>),
      info: GuruLogInfoData.fromJson(json['info'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$InitGuruLogEventDataToJson(
        InitGuruLogEventData instance) =>
    <String, dynamic>{
      'appId': instance.appId,
      'deviceInfo': instance.deviceInfo,
      'info': instance.info,
    };

FbTournamentConfig _$FbTournamentConfigFromJson(Map<String, dynamic> json) =>
    FbTournamentConfig(
      title: json['title'] as String?,
      image: json['image'] as String?,
      sortOrder: $enumDecodeNullable(
          _$FBTournamentSortOrderEnumMap, json['sortOrder']),
      scoreFormat: $enumDecodeNullable(
          _$FBTournamentSortFormatEnumMap, json['scoreFormat']),
      endTime: json['endTime'] as num?,
    );

Map<String, dynamic> _$FbTournamentConfigToJson(FbTournamentConfig instance) =>
    <String, dynamic>{
      'title': instance.title,
      'image': instance.image,
      'sortOrder': _$FBTournamentSortOrderEnumMap[instance.sortOrder],
      'scoreFormat': _$FBTournamentSortFormatEnumMap[instance.scoreFormat],
      'endTime': instance.endTime,
    };

const _$FBTournamentSortOrderEnumMap = {
  FBTournamentSortOrder.HIGHER_IS_BETTER: 'HIGHER_IS_BETTER',
  FBTournamentSortOrder.LOWER_IS_BETTER: 'LOWER_IS_BETTER',
};

const _$FBTournamentSortFormatEnumMap = {
  FBTournamentSortFormat.NUMERIC: 'NUMERIC',
  FBTournamentSortFormat.TIME: 'TIME',
};

FbUserInfo _$FbUserInfoFromJson(Map<String, dynamic> json) => FbUserInfo(
      json['player_id'] as String? ?? '',
      json['user_id'] as String? ?? '',
      json['name'] as String? ?? '',
      json['picUrl'] as String? ?? '',
    );

Map<String, dynamic> _$FbUserInfoToJson(FbUserInfo instance) =>
    <String, dynamic>{
      'player_id': instance.id,
      'user_id': instance.userId,
      'name': instance.name,
      'picUrl': instance.picUrl,
    };

FBContextInfo _$FBContextInfoFromJson(Map<String, dynamic> json) =>
    FBContextInfo(
      id: json['id'] as String,
      type: $enumDecode(_$FBContextTypeEnumMap, json['type']),
    );

Map<String, dynamic> _$FBContextInfoToJson(FBContextInfo instance) =>
    <String, dynamic>{
      'id': instance.id,
      'type': _$FBContextTypeEnumMap[instance.type]!,
    };

const _$FBContextTypeEnumMap = {
  FBContextType.POST: 'POST',
  FBContextType.THREAD: 'THREAD',
  FBContextType.GROUP: 'GROUP',
  FBContextType.SOLO: 'SOLO',
};
