эмулятор сломался 2...
This commit is contained in:
parent
9ea4019641
commit
ce0d99c433
27
lib/data/dtos/films_dto.g.dart
Normal file
27
lib/data/dtos/films_dto.g.dart
Normal 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,
|
||||||
|
);
|
Loading…
x
Reference in New Issue
Block a user