Serializable class

Marks a class as eligible for serialization.

Constructors

Serializable({List<int> serializers = const [Serializers.map, Serializers.json], bool autoSnakeCaseNames = true, List includeAnnotations = const []})
const

Properties

autoSnakeCaseNames bool
Overrides the setting in SerializerGenerator.
final
hashCode int
The hash code for this object.
no setterinherited
includeAnnotations List
A list of constant members to affix to the generated class.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializers List<int>
A list of enabled serialization modes.
final

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