JourneysResponse.fromJson constructor
Implementation
factory JourneysResponse.fromJson(Map<String, dynamic> json) {
return JourneysResponse(
item: (json['Item'] as List)
.whereNotNull()
.map((e) => JourneyResponse.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}