ResourcesApi class

Constructors

ResourcesApi.new(String _baseUrl, Dio dio)

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

createResource({required String key, required String projectId, required LocalizedTextModel base, ResourceType? type, List<LocalizedTextModel>? translations}) Future<bool>
deleteString(String projectId, String stringId) Future<bool>
downloadResourcesFile({required String projectId, required String locale, required String format}) Future<String>
getAllResources(String projectId) Future<List<ResourceModel>>
getResource(String projectId, String stringId) Future<ResourceModel>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateResource({required String key, required String projectId, required LocalizedTextModel base, ResourceType? type, List<LocalizedTextModel>? translations}) Future<bool>
uploadResourcesFile(String projectId, String locale, Uint8List bytes) Future<void>

Operators

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