YamlCodec class

Constructors

YamlCodec()
const

Properties

bridgeConverters Map<Type, DogConverter>
Interop converters for native types. These converters are most commonly used by TreeBaseConverterFactorys since they require a DogConverter for every type.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
metaPrefix String
The prefix used for metadata keys.
no setterinherited
primitiveCoercion → CodecPrimitiveCoercion
Coercion for native types.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeDiscriminator String
The full key used for type discrimination.
no setterinherited
valueDiscriminator String
The full key used for value discrimination.
no setterinherited

Methods

fromNative(dynamic value) → DogGraphValue
Converts a native value to a DogGraphValue.
inherited
isNative(Type serial) bool
Returns true if the given serial is a native type.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postProcessNative(dynamic value) → dynamic
Post-processes a generated value before it is returned from toNative. This does not apply to any of the values defined in engine.dart since this could lead to the processing of the same value multiple times which could lead to unexpected results.
preProcessNative(dynamic value) → dynamic
Pre-processes a native value before it is passed to fromNative. This does not apply to any of the values defined in engine.dart since this could lead to the processing of the same value multiple times which could lead to unexpected results.
toString() String
A string representation of this object.
inherited
yamlEscape(dynamic obj) Map<String, dynamic>
yamlUnescape(MapBase obj) → dynamic

Operators

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