SerializeWith class

Annotation used to indicate the type of a serializer to be used when marshalling/unmarshalling data to/from a worker service. Package squadron_builder will generate appropriate serialization code based on the provided marshaller.

Constructors

SerializeWith(dynamic marshaller)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
marshaller → dynamic
Type or constant instance of the marshaller to use for data serialization to/from the worker service. The type or instance type must implement SquadronMarshaller.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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