Simple example of function side-effects in Dart.
Dart
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
LICENSE.md
README.md
pubspec.lock
pubspec.yaml

README.md

Side Effects

This is a simple project to demonstrate Dart's pass-by-value and pass-by-reference when calling functions.

A full write-up about this sample application is available on my blog.