эмулятор сломался 2...

This commit is contained in:
bulatova_karina 2024-11-18 13:20:27 +04:00
parent 9ea4019641
commit ce0d99c433

View File

@ -0,0 +1,27 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'films_dto.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
FilmsDto _$FilmsDtoFromJson(Map<String, dynamic> json) => FilmsDto(
total: (json['total'] as num).toInt(),
items: (json['items'] as List<dynamic>)
.map((e) => FilmDataDto.fromJson(e as Map<String, dynamic>))
.toList(),
);
FilmDataDto _$FilmDataDtoFromJson(Map<String, dynamic> json) => FilmDataDto(
nameRu: json['nameRu'] as String,
year: (json['year'] as num).toInt(),
genres: (json['genres'] as List<dynamic>)
.map((e) => GenreDto.fromJson(e as Map<String, dynamic>))
.toList(),
posterUrl: json['posterUrl'] as String,
);
GenreDto _$GenreDtoFromJson(Map<String, dynamic> json) => GenreDto(
genre: json['genre'] as String,
);