blob: 568beb0bdfe5fe8d23a9d09067478bbcfb38e90d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class PopularCredit {
String? name;
String? character;
String? profilePath;
PopularCredit({
this.name,
this.character,
this.profilePath,
});
factory PopularCredit.fromMap(Map<String, dynamic> map) {
return PopularCredit(
name: map['name'],
character: map['character'],
profilePath: map['profile_path'],
);
}
}
|