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