ContentString<T> class abstract

Json data encoded in a String as defined by json-schema.

Constructors

ContentString([void b(ContentStringBuilder<T>)?])
Creates a new content String.
factory

Properties

content → T
The decoded value of the content String.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(ContentStringBuilder<T>)) ContentString<T>
Rebuilds the instance.
inherited
toBuilder() ContentStringBuilder<T>
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<ContentString<Object?>>
The serializer for a content String.
no setter