solutionCode property

String? solutionCode
final

Optional solution code.

This is intended for codelab content where you are testing a user and want to show them the correct answer if they wish to see it.

The solution code should be code that will make testCode pass.

Implementation

final String? solutionCode;