HXStr class

XStr is an extended string which is a type name and value encoded as a string.

It is used as a generic value when an XStr is decoded without any predefined type.

Inheritance

Properties

hashCode int
Hash code is value based.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Type name
final
val String
String value
final

Methods

compareTo(Object that) int
Returns sort order as negative, 0, or positive.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Encodes to JSON string value.
override
toString() String
String format is for human consumption only.
inherited
toZinc() String
Encodes value to zinc format.
override

Operators

operator ==(Object o) bool
The equality operator.
override

Static Methods

decode(String type, String val) HVal
encode(Object val) HXStr