AddFlowVpcInterfacesResponse.fromJson constructor

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

Implementation

factory AddFlowVpcInterfacesResponse.fromJson(Map<String, dynamic> json) {
  return AddFlowVpcInterfacesResponse(
    flowArn: json['flowArn'] as String?,
    vpcInterfaces: (json['vpcInterfaces'] as List?)
        ?.whereNotNull()
        .map((e) => VpcInterface.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}