discriminatorKey property

String? discriminatorKey
final

Property key used for type discriminators.

For polymorphic classes this will be used for identifying the correct subtype when decoding an object.

Implementation

final String? discriminatorKey;