Exclude class

Excludes a field from being excluded.

Inheritance

Constructors

Exclude({bool canDeserialize: false, bool canSerialize: false })
const

Properties

alias → String
An alternative name for this field.
final, inherited
canDeserialize → bool
Whether this field can be serialized, if exclude is true. Defaults to false.
final, inherited
canSerialize → bool
Whether this field can be serialized, if exclude is true. Defaults to false.
final, inherited
defaultValue → dynamic
A default for this field.
final, inherited
deserializer → Symbol
A custom serializer for this field.
final, inherited
errorMessage → String
An error message to be printed when the provided value is invalid.
final, inherited
exclude → bool
Whether to exclude this field from serialization. Defaults to false.
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
isNullable → bool
Whether this field can be set to null.
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
serializer → Symbol
A custom serializer for this field.
final, inherited
serializesTo → Type
May be used with serializer and deserializer. [...]
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited