Column class

Constructors

Column.new({dynamic name})
const

Properties

defaultValue Object?
The value to use if the source JSON does not contain this key or if the value is null.
finalinherited
disallowNullValue bool?
If true, generated code will throw a DisallowedNullValueException if the corresponding key exists, but the value is null.
finalinherited
fromJson Function?
A Function to use when decoding the associated JSON value to the annotated field.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
ignore bool?
true if the generator should ignore this field completely.
finalinherited
includeFromJson bool?
Used to force a field to be included (or excluded) when decoding a object from JSON.
finalinherited
includeIfNull bool?
Whether the generator should include fields with null values in the serialized output.
finalinherited
includeToJson bool?
Used to force a field to be included (or excluded) when encoding a object to JSON.
finalinherited
name String?
The key in a JSON map to use when reading and writing values corresponding to the annotated fields.
finalinherited
readValue Object? Function(Map, String)?
Specialize how a value is read from the source JSON map.
finalinherited
required bool?
When true, generated code for fromJson will verify that the source JSON map contains the associated key.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJson Function?
A Function to use when encoding the annotated field to JSON.
finalinherited
unknownEnumValue Enum?
The value to use for an enum field when the value provided is not in the source enum.
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