// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'create_room_response.dart';

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

CreateRoomResponse _$CreateRoomResponseFromJson(Map<String, dynamic> json) =>
    CreateRoomResponse(
        CreateRoomResponseData.fromJson(json['data'] as Map<String, dynamic>),
      )
      ..headers = (json['headers'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      );

Map<String, dynamic> _$CreateRoomResponseToJson(CreateRoomResponse instance) =>
    <String, dynamic>{
      'headers': ?instance.headers,
      'data': instance.data.toJson(),
    };

CreateRoomResponseData _$CreateRoomResponseDataFromJson(
  Map<String, dynamic> json,
) => CreateRoomResponseData(json['token'] as String);

Map<String, dynamic> _$CreateRoomResponseDataToJson(
  CreateRoomResponseData instance,
) => <String, dynamic>{'token': instance.token};
