includeTypeId property

bool? includeTypeId
final

Whether to include the type id of the encoding object.

If set, this adds a '__type' property with the specific runtime type of the encoding object. If left untouched, the container automatically decides whether to include the type id based on the static and dynamic type of an object.

Implementation

final bool? includeTypeId;