SerializationOptions class

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? ignoreDefaultMembers, 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
finalinherited
hashCode int
The hash code for this object.
no setterinherited
ignoreDefaultMembers bool?
Class members having JsonProperty.defaultValue will be excluded from serialization process
final
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
injectableValues InjectableValues?
A Map<String, dynamic> of injectable values to be used for direct injection
finalinherited
processAnnotatedMembersOnly bool?
Process annotated class members only
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme → dynamic
Scheme to be used
finalinherited
template → dynamic
Template Instance
finalinherited
type Type?
Declares a fallback target type to deserialize to, when it's not possible to detect it from target type inference OR template
finalinherited

Methods

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

Operators

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