SupportedTranslation class

Represents a single translation resource for a specific locale.

This class encapsulates the details necessary to identify and locate the translation files or resources within the system. It is used by the LocalizationManager to load the necessary translations for the given locale.

Constructors

SupportedTranslation({required String name, required String path})
Constructs a SupportedTranslation with specified name and path.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the translation.
final
path String
The path to the translation file or resource.
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