examples property

Map<String, dynamic> get examples

We find the examples from the top-level MainMessage and use those when writing out variables. MainMessage overrides this to return the actual examples.

Implementation

Map<String, dynamic> get examples =>
    parent == null ? const {} : parent!.examples;