GetDataflowEndpointGroupResponse.fromJson constructor

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

Implementation

factory GetDataflowEndpointGroupResponse.fromJson(Map<String, dynamic> json) {
  return GetDataflowEndpointGroupResponse(
    dataflowEndpointGroupArn: json['dataflowEndpointGroupArn'] as String?,
    dataflowEndpointGroupId: json['dataflowEndpointGroupId'] as String?,
    endpointsDetails: (json['endpointsDetails'] as List?)
        ?.whereNotNull()
        .map((e) => EndpointDetails.fromJson(e as Map<String, dynamic>))
        .toList(),
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}