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 with t.
toGraph<T>(T value, {IterableKind kind = IterableKind.none, Type? type}) DogGraphValue
Converts a value to its DogGraphValue representation using the converter associated with T.
validate<T>(T value) → void
Validates the supplied value using the ValidationMode mapped to T. Throws a ValidationException if validateObject returns false.