DateTimeConverter class

DogConverter for DateTime instances which encodes the timestamp as a Iso8601 string.

Inheritance
Mixed in types

Constructors

DateTimeConverter()
DogConverter for DateTime instances which encodes the timestamp as a Iso8601 string.

Properties

deriveFuture Type
no setterinherited
deriveFutureOr Type
no setterinherited
deriveIterable Type
no setterinherited
deriveList Type
no setterinherited
deriveSet Type
no setterinherited
deriveStream Type
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAssociated bool
If the converter is associated with the type T. Used by the DogEngine.registerAutomatic to determine if a converter should be automatically registered to T.
finalinherited
isNullable bool
no setterinherited
keepIterables bool
If the converter should keep iterables as iterables or convert them automatically if they occur inside a DogStructure.
finalinherited
modes Map<Type, OperationMode<DateTime> Function()>
Returns a map of Types to OperationMode factories.
no setteroverride
nullable TypeCapture
no setterinherited
output → APISchemaObject
Describes the converts output using openapi3 component specs.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
struct DogStructure<DateTime>?
The DogStructure associated with this converter and the type T.
finalinherited
typeArgument Type
no setterinherited

Methods

castIterable(Iterable<DateTime> iterable) Iterable<DateTime>
inherited
castList(List list) List<DateTime>
inherited
castSet(Set set) Set<DateTime>
inherited
consumeType<RETURN>(RETURN func<_>()) → RETURN
inherited
consumeTypeArg<RETURN, ARG>(RETURN func<_>(ARG), ARG arg) → RETURN
inherited
isAssignable(dynamic object) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveOperationMode(Type opmodeType) OperationMode<DateTime>?
Returns the operation mode for the given opmodeType or null if the converter does not support the given operation mode by default.
inherited
toString() String
A string representation of this object.
inherited

Operators

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