constructor property

String? constructor
final

Specifies a named constructor to target when creating the fromJson function.

If the value is not set or an empty String, the default constructor is used.

This setting has no effect if createFactory is false.

Implementation

final String? constructor;