// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'authenticateResponse.dart';

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

AuthenticateResponse _$AuthenticateResponseFromJson(
        Map<String, dynamic> json) =>
    AuthenticateResponse(
      json['sessionId'] as String,
      json['personType'] as int,
      json['personId'] as int,
      json['klasseId'] as int,
    )..headers = (json['headers'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      );

Map<String, dynamic> _$AuthenticateResponseToJson(
    AuthenticateResponse instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('headers', instance.headers);
  val['sessionId'] = instance.sessionId;
  val['personType'] = instance.personType;
  val['personId'] = instance.personId;
  val['klasseId'] = instance.klasseId;
  return val;
}
