extraImports property

String get extraImports
override

We import the main file so as to get the shared code to evaluate the JSON data.

Implementation

String get extraImports => '''
import 'dart:convert';
import '${generatedFilePrefix}messages_all.dart' show evaluateJsonTemplate;
''';