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