TranslateArgResults class

Represents the result of parsing command-line arguments for the translation options.

Constructors

TranslateArgResults({required bool? help, required ModelProvider? modelProvider, required Model? model, required String? apiKey, required String? vertexAiProjectUrl, required bool? disableSafety, required String? context, required List<String>? excludeLocales, required String? arbDir, required String? templateArbFile, required bool? useEscaping, required bool? relaxSyntax})
const

Properties

apiKey String?
The API key for translation.
final
arbDir String?
The directory containing the ARB files.
final
context String?
The context for translation.
final
disableSafety bool?
Indicates whether safety checks are disabled.
final
excludeLocales List<String>?
The list of locales to exclude from translation.
final
hashCode int
The hash code for this object.
no setterinherited
help bool?
Indicates whether the help option was specified.
final
model Model?
The model for translation.
final
modelProvider ModelProvider?
The model provider for translation.
final
relaxSyntax bool?
Indicates whether relaxed syntax is used in messages.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
templateArbFile String?
The template ARB file.
final
useEscaping bool?
Indicates whether escaping is used in messages.
final
vertexAiProjectUrl String?
The URL of the Vertex AI project.
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.
inherited