DogEngineShortcuts extension
- on
Methods
-
fromGraph<
T> (DogGraphValue value, {IterableKind kind = IterableKind.none, Type? type}) → T -
Converts DogGraphValue supplied via
value
to its normal representation by using the converter associated witht
. -
toGraph<
T> (T value, {IterableKind kind = IterableKind.none, Type? type}) → DogGraphValue -
Converts a
value
to its DogGraphValue representation using the converter associated withT
. -
validate<
T> (T value) → void -
Validates the supplied
value
using the ValidationMode mapped toT
. Throws a ValidationException if validateObject returns false.