getLatestPerson method
Get latest person.
Get the most newly created person. This is a live response and will continuously change.
For more details on the API go here.
Throws FilmGyaanException on an error.
Implementation
Future<PeopleDetails> getLatestPerson() async {
var params = PeopleLatestParams();
_logger.info('Getting a latest movie');
return defaultFlow<PeopleLatestParams, PeopleDetails>(
core: this,
params: params,
serializer: (dynamic json) => PeopleDetails.fromMap(
json as Map<String, dynamic>,
),
);
}