I18nMetadata class

Metadata used to internationalize a message.

Constructors

I18nMetadata(String description, SourceSpan origin, {String? locale, String? meaning, bool skip = false})
Creates metadata from description with optional meaning.

Properties

description String
A description of a message's use.
final
hashCode int
The hash code for this object.
no setteroverride
locale String?
The locale code of the translation to use for this message.
final
meaning String?
The meaning of a message, used to disambiguate equivalent messages.
final
origin → SourceSpan
The primary source span to which this metadata is attributed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skip bool
Whether this message should be skipped for internationalization.
final

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.
override