ClassConfig class

Represents values from JsonSerializable when merged with local configuration.

Values are all known, so types are non-nullable.

Constructors

ClassConfig({required bool serializeDefaultValues, required bool useDynamics, required bool anyMap, required bool checked, required String constructor, required bool createFactory, required bool createToJson, required bool createFieldMap, required bool createJsonKeys, required bool createPerFieldToJson, required bool disallowUnrecognizedKeys, required bool explicitToJson, required FieldRename fieldRename, required bool genericArgumentFactories, required bool ignoreUnannotated, required bool includeIfNull, List<DartObject> converters = const [], Map<String, String> ctorParamDefaults = const {}})
const
ClassConfig.fromJsonSerializable(JsonSerializable config)
factory

Properties

anyMap bool
final
checked bool
final
constructor String
final
converters List<DartObject>
final
createFactory bool
final
createFieldMap bool
final
createJsonKeys bool
final
createPerFieldToJson bool
final
createToJson bool
final
ctorParamDefaults Map<String, String>
final
disallowUnrecognizedKeys bool
final
explicitToJson bool
final
fieldRename → FieldRename
final
genericArgumentFactories bool
final
hashCode int
The hash code for this object.
no setterinherited
ignoreUnannotated bool
final
includeIfNull bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializeDefaultValues bool
final
useDynamics bool
final

Methods

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

Operators

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

Constants

defaults → const ClassConfig
An instance of JsonSerializable with all fields set to their default values.