toGenerator property

String? toGenerator

Manipulates output for the field in the serialize generator. The serializing key is defined from name or the default naming of the field. While the build method is ultimately responsible for how the output is applied, it is most often directly injected as the value of the field in the serialize adapter.

instance and provider is available as the invoking model.

Placeholders can be used in the value of this field.

Implementation

String? get toGenerator;