LocalizedString class
- Available extensions
Constructors
-
LocalizedString.new(Map<
String, String> _strings) -
const
- LocalizedString.empty()
-
const
- LocalizedString.from(Object? source)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEmpty → bool
-
no setter
- isNotEmpty → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- use → LocalizedString
-
Available on LocalizedString?, provided by the LocalizedStringHelper extension
no setter - verified → LocalizedString?
-
Available on LocalizedString?, provided by the LocalizedStringHelper extension
no setter
Methods
-
copyWith(
{Map< String, String> ? strings}) → LocalizedString -
localize(
String language) → String? -
localize(
String language) → String? -
Available on LocalizedString?, provided by the LocalizedStringHelper extension
-
modifyWith(
{Map< String, String> strings = const {}}) → LocalizedString -
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.
override