ExitsResponse.fromJson constructor
Implementation
factory ExitsResponse.fromJson(Map<String, dynamic> json) {
List<Exit>? exits =
(json['exits'] as List?)?.map((item) => Exit.fromJson(item)).toList();
return ExitsResponse(exits: exits, pagination: json['pagination']);
}