extraImports property

  1. @override
String get extraImports
override

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

Implementation

@override
String get extraImports => '''
import 'dart:convert';

import '${generatedFilePrefix}messages_all.dart' show evaluateJsonTemplate;
''';