FluentString class

A locale-independent string. Used for string literals ("hello") and for any host-language String argument the bundle receives.

Inheritance
Annotations
  • @immutable

Constructors

FluentString(String value)
Wraps value.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
rawString String
Render this value's host-language string form. Plain string-like values use this directly; FluentNumber and FluentDateTime are rendered through the bundle's locale-aware formatter callables, so callers route through the resolver rather than calling this.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The string content.
final

Methods

format(FluentFormatContext context) String
Render this value to its final string under context.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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