PutProtocolsListResponse.fromJson constructor

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

Implementation

factory PutProtocolsListResponse.fromJson(Map<String, dynamic> json) {
  return PutProtocolsListResponse(
    protocolsList: json['ProtocolsList'] != null
        ? ProtocolsListData.fromJson(
            json['ProtocolsList'] as Map<String, dynamic>)
        : null,
    protocolsListArn: json['ProtocolsListArn'] as String?,
  );
}