DogGraphValue class abstract
Graph node of the serialized DOG graph.
Constructors
- DogGraphValue()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
DogVisitor visitor) → void - Accepts an DogVisitor.
-
clone(
) → DogGraphValue - (Deep-)Clones this graph value.
-
coerceNative(
) → dynamic - Converts this value to a native one. All values that can be serialised by jsonEncode are considered native.
-
coerceString(
) → String - Returns a string representation of this dog value.
-
describe(
int indent) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDescriptionString(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromNative(
dynamic value) → DogGraphValue -
Returns a DogGraphValue for the native value
value
. All values that can be serialised by jsonEncode are considered native. Only values which fulfill isNative or Iterable and Map instances containing only value which fulfill isNative are convertible. -
isNative(
dynamic value) → bool -
Returns true if
value
is of type String, int, double or bool.