Created
February 16, 2020 06:12
-
-
Save ghozay19/df691b28c0e7d95d27f917071f37c018 to your computer and use it in GitHub Desktop.
hasil generate movie_resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GENERATED CODE - DO NOT MODIFY BY HAND | |
part of 'movie_resp.dart'; | |
// ************************************************************************** | |
// JsonSerializableGenerator | |
// ************************************************************************** | |
MovieResp _$MovieRespFromJson(Map<String, dynamic> json) { | |
return MovieResp( | |
(json['results'] as List) | |
?.map((e) => | |
e == null ? null : MovieItem.fromJson(e as Map<String, dynamic>)) | |
?.toList(), | |
); | |
} | |
Map<String, dynamic> _$MovieRespToJson(MovieResp instance) => <String, dynamic>{ | |
'results': instance.results, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment