ListGraphsResponse.fromJson constructor

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

Implementation

factory ListGraphsResponse.fromJson(Map<String, dynamic> json) {
  return ListGraphsResponse(
    graphList: (json['GraphList'] as List?)
        ?.whereNotNull()
        .map((e) => Graph.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}