Json class Null safety
Json is used as metadata, to annotate Dart class as top level Json object
- allowCircularReferences → int?
Allow circular object references during serialization
for annotated class. Presume You know what you are doing
- caseStyle → CaseStyle?
The most popular ways to combine words into a single string
Based on assumption: That all Dart class fields initially
given as CaseStyle.Camel
- discriminatorProperty → String?
Defines a class property to be used as a source of truth for discrimination logic
in a hierarchy of inherited classes. Usually used on annotation of
- discriminatorValue → dynamic
Defines a custom override value for a discriminator
Usually used on annotations of subclasses, to distinguish it from each other
Default value: final
- hashCode → int
The hash code for this object. [...]
- ignoreNullMembers → bool?
Null class members
will be excluded from serialization process
unless JsonProperty.required or JsonProperty.notNull is given to
- name → String?
Defines RFC 6901 JSON
pointerDenotes the json Object root name/path to be used for mapping Example: name: 'foo' name: 'bar' name: 'foo/bar/baz' name: '#/foo/0/baz'final
- processAnnotatedMembersOnly → bool?
Process only annotated class members
- runtimeType → Type
A representation of the runtime type of the object.
- scheme → dynamic
Scheme marker to associate this meta information with particular mapping scheme
Static function to return a Map of Inline value decorators [...]