LocalTranslationWithInterface class

A class that extends the Translation class and implements the TranslationResults interface.

Inheritance

Properties

createdAt DateTime
The date and time the translation was created.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isApproved bool
Whether the translation is approved.
finalinherited
originalLanguageCode → SolvroLocale
The language code of the original text.
finalinherited
originalTextHash String
The hash of the original text.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translatedLanguageCode → SolvroLocale
The language code of the translated text.
finalinherited
translatedText String
The translated text.
finalinherited

Methods

copyWith({String? originalTextHash, String? translatedText, SolvroLocale? originalLanguageCode, SolvroLocale? translatedLanguageCode, bool? isApproved, DateTime? createdAt}) Translation
inherited
copyWithCompanion(TranslationsCompanion data) Translation
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
inherited
toCompanion(bool nullToAbsent) TranslationsCompanion
inherited
toJson({ValueSerializer? serializer}) Map<String, dynamic>
Converts this object into a representation that can be encoded with json. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
inherited
toJsonString({ValueSerializer? serializer}) String
Converts this object into a json representation. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited