GenSerializer class

Annotation used to request generation of serializer

Constructors

GenSerializer({Map<String, Field> fields = const <String, Field>{}, List<String> ignore = const <String>[], List<Type> serializers = const <Type>[], bool includeByDefault = true, bool nullableFields = true, NameFormatter nameFormatter})
const

Properties

fields Map<String, Field>
Specify whether a property could be encoded, only, decoded only or both
final
hashCode int
The hash code for this object. [...]
read-only, inherited
ignore List<String>
List of properties that shall be ignored
final
includeByDefault bool
Should all fields be included by default? [...]
final
nameFormatter NameFormatter
Determine the format for a field, none by default [...]
final
nullableFields bool
Enable null check on fields if false [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serializers List<Type>
Supplies Serializers to use when unknown PODO type is encountered
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited