EncodeOptions class
Configuration options for encoding Dart values to TOON format.
Provides fine-grained control over TOON encoding behavior including indentation, delimiters, length markers, and flat map support.
Constructors
Properties
- delimiter → String
-
Delimiter character for array values and tabular rows.
final
- delimiterMarker → String
-
Returns the delimiter marker string for array headers.
no setter
- enforceFlatMap → bool
-
Whether to flatten nested maps into dot-notation keys.
final
- flatMapSeparator → String
-
Separator character for flattened map keys.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indent → int
-
Number of spaces per indentation level.
final
- lengthMarker → String?
-
Optional marker to prefix array lengths for clarity.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited