Formatting helpers for raw TOML values.
These are pure functions over Dart values so they can be unit-tested without pumping a widget.
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
-
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
Static Methods
-
collectionLabel(
Object? value) → String - Builds the summary label shown for a collection.
-
format(
Object? value, {int? maxLength}) → String -
Renders
valueas the text shown in a row. -
isPrimitive(
Object? value) → bool -
Whether
valuerenders as a plain text value rather than a type label. -
typeName(
Object? value) → String -
Returns a human-readable type name for
value.