ListDataflowEndpointGroupsResponse.fromJson constructor

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

Implementation

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