code property

String code
final

The code to pre-load into the dart pad editor.

To make code runnable, include a main() function in it. Note that code and the following optional testCode parameter will be run as if they were in the same file so should only define main() in one of the two.

Implementation

final String code;