Skip to content

Instantly share code, notes, and snippets.

@ghozay19
Created February 16, 2020 06:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghozay19/df691b28c0e7d95d27f917071f37c018 to your computer and use it in GitHub Desktop.
Save ghozay19/df691b28c0e7d95d27f917071f37c018 to your computer and use it in GitHub Desktop.
hasil generate movie_resp
// 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