// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'keyboard_prologue_list_response.dart';

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

KeyboardPrologueListResponse _$KeyboardPrologueListResponseFromJson(
  Map<String, dynamic> json,
) => KeyboardPrologueListResponse(
  prologues:
      (json['prologues'] as List<dynamic>?)
          ?.map((e) => Prologue.fromJson(e as Map<String, dynamic>))
          .toList(),
);

Map<String, dynamic> _$KeyboardPrologueListResponseToJson(
  KeyboardPrologueListResponse instance,
) => <String, dynamic>{'prologues': instance.prologues};

Prologue _$PrologueFromJson(Map<String, dynamic> json) => Prologue(
  title: json['title'] as String?,
  topics:
      (json['topics'] as List<dynamic>?)
          ?.map((e) => Topic.fromJson(e as Map<String, dynamic>))
          .toList(),
);

Map<String, dynamic> _$PrologueToJson(Prologue instance) => <String, dynamic>{
  'title': instance.title,
  'topics': instance.topics,
};

Topic _$TopicFromJson(Map<String, dynamic> json) =>
    Topic(name: json['name'] as String?);

Map<String, dynamic> _$TopicToJson(Topic instance) => <String, dynamic>{
  'name': instance.name,
};
