해결된 질문
작성
·
276
0
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'naver_book_info_results.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
NaverBookInfoResults _$NaverBookInfoResultsFromJson(
Map<String, dynamic> json) =>
NaverBookInfoResults(
total: json['total'] as int?,
start: json['start'] as int?,
display: json['display'] as int?,
items: (json['items'] as List<dynamic>?)
?.map((e) => NaverBookInfo.fromJson(e as Map<String, dynamic>))
.toList(),
);
Map<String, dynamic> _$NaverBookInfoResultsToJson(
NaverBookInfoResults instance) =>
<String, dynamic>{
'total': instance.total,
'start': instance.start,
'display': instance.display,
'items': instance.items,
};
naver_book_info_results.g.dart 파일에서 영상이랑 똑같이 생성했는데
이렇게 오류가 발생하는데 이유를 모르겠습니다.
네 있습니다.