JsonProperty constructor

const JsonProperty({
  1. dynamic scheme,
  2. dynamic name,
  3. bool? required,
  4. bool? notNull,
  5. bool? ignore,
  6. bool? inject,
  7. bool? flatten,
  8. String? requiredMessage,
  9. String? notNullMessage,
  10. bool? ignoreForSerialization,
  11. bool? ignoreForDeserialization,
  12. bool? ignoreIfNull,
  13. bool? ignoreIfDefault,
  14. ICustomConverter? converter,
  15. dynamic defaultValue,
  16. 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});