Api class

Constructors

Api()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fetchTranslations() Future<Map<String, dynamic>?>
Fetched the newest translation from the provided translationsPath returns Future<Map<String, dynamic>> Throws an WrongApiResponseException if there is response status was not 200
fetchTranslationVersion() Future<Map<String, dynamic>?>
Fetched the newest translation version code from the provided versionPath returns Future<Map<String, dynamic>> Throws a WrongApiResponseException if there is response status was not 200