## Record


A data record.


Usage


``` python
Record(
    name,
    value=0,
)
```


## Parameters


`name: str`  
The record name.

`value: int = ``0`  
The record value.


## Methods

| Name | Description |
|----|----|
| [to_dict()](#to_dict) | Convert the record to a dictionary. |

------------------------------------------------------------------------


#### to_dict()


Convert the record to a dictionary.


Usage


``` python
to_dict()
```


##### Returns


`dict`  
Dictionary with name and value keys.
