// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'trakt_token.dart';

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

_TraktToken _$TraktTokenFromJson(Map<String, dynamic> json) => _TraktToken(
  accessToken: json['access_token'] as String? ?? '',
  refreshToken: json['refresh_token'] as String? ?? '',
  expiresIn: (json['expires_in'] as num?)?.toInt() ?? 0,
  createdAt: (json['created_at'] as num?)?.toInt() ?? 0,
  tokenType: json['token_type'] as String? ?? '',
  scope: json['scope'] as String? ?? '',
);

Map<String, dynamic> _$TraktTokenToJson(_TraktToken instance) =>
    <String, dynamic>{
      'access_token': instance.accessToken,
      'refresh_token': instance.refreshToken,
      'expires_in': instance.expiresIn,
      'created_at': instance.createdAt,
      'token_type': instance.tokenType,
      'scope': instance.scope,
    };
