Json constructor
const
Json({})
Create a Json
name
name override
ignore
if true, this field will not be serialized
includeNull
if true, nulls will be serialized.
required
if true, the JSON is expected to have a value
defaultValue
default in case of a not supplied json value
Implementation
const Json({this.name = "", this.converter, this.ignore = false, this.includeNull = true, this.required = true, this.defaultValue});