toGenerator property

  1. @override
String? toGenerator
final

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

@override
final String? toGenerator;