Character constructor
Character({
- required int id,
- required String name,
- required String status,
- required String species,
- required String type,
- required String gender,
- required CharacterLocation origin,
- required CharacterLocation location,
- required String image,
- required List<
String> episode, - required String url,
- required DateTime created,
Implementation
Character({
required this.id,
required this.name,
required this.status,
required this.species,
required this.type,
required this.gender,
required this.origin,
required this.location,
required this.image,
required this.episode,
required this.url,
required this.created,
});