RemoteTranslationResponse constructor
RemoteTranslationResponse({})
Creates a new RemoteTranslationResponse.
The originalText parameter is the original text.
The translatedText parameter is the translated text.
The originalLanguageCode parameter is the language code of the original text.
The translatedLanguageCode parameter is the language code of the desired translation.
Implementation
factory RemoteTranslationResponse({
required String originalText,
required String translatedText,
required String originalLanguageCode,
required String translatedLanguageCode,
required bool isApproved,
required DateTime createdAt,
required DateTime updatedAt,
}) = _TranslationResponse;