To generate a script snapshot file called
prorabbits from the Dart script
prorabbits.dart, issue the following command:
dart --snapshot=prorabbits prorabbits.dart
Then, start the app with
dart prorabbits args, where
args stands for optional arguments needed by the script.
A script snapshot is the byte representation of the app's objects in the memory (more precisely in the heap of the started isolate) after it is loaded, ...