TranslatorInfo class
Constructors
- TranslatorInfo({required String uuid, required String userUUID, required int translatedCount, required int votedCount, required DateTime joinAt})
- TranslatorInfo.fromJson(String source)
-
factory
-
TranslatorInfo.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- joinAt → DateTime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- translatedCount → int
-
final
- userUUID → String
-
final
- uuid → String
-
final
- votedCount → int
-
final
Methods
-
copyWith(
{String? uuid, String? userUUID, int? translatedCount, int? votedCount, DateTime? joinAt}) → TranslatorInfo -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
getByUserUUID(
User user) → Future< TranslatorInfo> -
getByUUID(
String uuid) → Future< TranslatorInfo>