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