Character constructor

Character({
  1. required int id,
  2. required String name,
  3. required String status,
  4. required String species,
  5. required String type,
  6. required String gender,
  7. required String image,
  8. required Map origin,
  9. required Map location,
  10. required List episode,
  11. required String url,
  12. required String created,
})

Implementation

Character(
    {required this.id,
    required this.name,
    required this.status,
    required this.species,
    required this.type,
    required this.gender,
    required this.image,
    required this.origin,
    required this.location,
    required this.episode,
    required this.url,
    required this.created});