$type property

  1. @JsonKey.new(name: CLASS_IDENTIFIER)
String? $type
getter/setter pairinherited

The type name written to __type in JSON; set to jsonType on creation.

Used by FromJsonFactory to pick the fromJson function when deserializing.

Implementation

@JsonKey(name: CLASS_IDENTIFIER)
String? $type;