ListTestGridSessionsResult.fromJson constructor

ListTestGridSessionsResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListTestGridSessionsResult.fromJson(Map<String, dynamic> json) {
  return ListTestGridSessionsResult(
    nextToken: json['nextToken'] as String?,
    testGridSessions: (json['testGridSessions'] as List?)
        ?.whereNotNull()
        .map((e) => TestGridSession.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}