TeaSlate class

Constructors

TeaSlate({required String key, String apiUrl = "https://teaslate.twiiky.fr/api/translations/json", String? defaultLang, bool debug = false, List translations = const [], bool ignoreCertErrors = false})

Properties

apiUrl String
final
debug bool
final
defaultLang String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ignoreCertErrors bool
final
isConnected bool
getter/setter pair
key String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translations List
getter/setter pair

Methods

connect() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
translate(String uid, {String? lang}) String

Operators

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