Simulation Bug: WaveDumper Function Must Be Placed Before Simulator Class to Prevent Errors
- Dominant language
- Dart
- Stars
- 489
- Forks
- 88
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
### Describe the bug
During simulation, the function `WaveDumper` need to be place before any of the `Simulator` class else its going to throw the bug as shown below:

### To Reproduce
Create a `Simulator` and slot in the `WaveDumper` in the middle of Simulation.
### Expected behavior
It should either:
1. Throw exception to user to indicate the misplacement of the WaveDumper class.
2. Allow the WaveDumper to be place in any of the location.
### Actual behavior
As of now, no error indicate the misplacement.
### Additional: Dart SDK info
Dart SDK version: 3.3.0-16.0.dev (dev) (Wed Oct 11 21:04:42 2023 -0700) on "windows_x64"
### Additional: pubspec.yaml
```yaml
name: cache
description: A sample command-line application.
version: 1.0.0
# repository: https://github.com/my_org/my_repo
environment:
sdk: ^3.1.0
# Add regular dependencies here.
dependencies:
rohd: ^0.5.0
rohd_vf: ^0.5.0
dev_dependencies:
lints: ^2.0.0
test: ^1.21.0
```
### Additional: Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.