JsonProperty constructor
const
JsonProperty({
- dynamic scheme,
- dynamic name,
- bool? required,
- bool? notNull,
- bool? ignore,
- bool? inject,
- bool? flatten,
- String? requiredMessage,
- String? notNullMessage,
- bool? ignoreForSerialization,
- bool? ignoreForDeserialization,
- bool? ignoreIfNull,
- bool? ignoreIfDefault,
- ICustomConverter? converter,
- dynamic defaultValue,
- Map? converterParams,
Implementation
const JsonProperty(
{this.scheme,
this.name,
this.required,
this.notNull,
this.ignore,
this.inject,
this.flatten,
this.requiredMessage,
this.notNullMessage,
this.ignoreForSerialization,
this.ignoreForDeserialization,
this.ignoreIfNull,
this.ignoreIfDefault,
this.converter,
this.defaultValue,
this.converterParams});