SerializationOptions class Null safety

Declares configuration parameters for Serialization process fully includes DeserializationOptions

Inheritance

Constructors

SerializationOptions({dynamic scheme, dynamic caseStyle, dynamic template, dynamic processAnnotatedMembersOnly, String? indent, bool? ignoreNullMembers, bool? ignoreUnknownTypes})
const

Properties

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
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
ignoreNullMembers bool?
Null class members will be excluded from serialization process
final
ignoreUnknownTypes bool?
Class members having Unknown types will be excluded from serialization process Java Jackson's "@JsonIgnoreProperties(ignoreUnknown = true)"
final
indent String?
JSON Indentation, usually it's just a string of space characters
final
processAnnotatedMembersOnly bool?
Process annotated class members only
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scheme → dynamic
Scheme to be used
final, inherited
template → dynamic
Template Instance [...]
final, inherited
type Type?
Declares a fallback target type to deserialize to, when it's not possible to detect it from type inference OR template
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited